postgresql/src/interfaces
Fujii Masao 7c4d3fe272 ecpg: Refactor ecpg_log() to skip unnecessary calls to ECPGget_sqlca().
Previously, ecpg_log() always called ECPGget_sqlca() to retrieve sqlca,
even though it was only needed for debug logging. This commit updates
ecpg_log() to call ECPGget_sqlca() only when debug logging is enabled.

Author: Yuto Sasaki
Reviewed-by: Alvaro Herrera, Tom Lane, Fujii Masao
Discussion: https://postgr.es/m/TY2PR01MB3628A85689649BABC9A1C6C3C1782@TY2PR01MB3628.jpnprd01.prod.outlook.com
2024-10-22 23:57:35 +09:00
..
ecpg ecpg: Refactor ecpg_log() to skip unnecessary calls to ECPGget_sqlca(). 2024-10-22 23:57:35 +09:00
libpq Avoid mixing custom and OpenSSL BIO functions 2024-10-11 21:58:58 +02:00
Makefile Fix parallel make when running make install before make all 2011-03-08 23:52:29 +02:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00