Re: ECPG Refactor: move sqlca variable in ecpg_log()

2024-10-15 Thread Yuto Sasaki (Fujitsu)
ecpg_log() On 2024-Oct-10, Yuto Sasaki (Fujitsu) wrote: > The sqlca variable in the ecpg_log() was declared with an unnecessarily wide > scope, so I moved to the appropriate place. Hmm, I'm not sure we want that, because if we do this, then ECPGget_sqlca() gets run with the debug_mutex

ECPG Refactor: move sqlca variable in ecpg_log()

2024-10-09 Thread Yuto Sasaki (Fujitsu)
The sqlca variable in the ecpg_log() was declared with an unnecessarily wide scope, so I moved to the appropriate place. Please see attached. scope.diff Description: scope.diff

Re: [BUG FIX]Connection fails with whitespace after keepalives parameter value

2024-10-04 Thread Yuto Sasaki (Fujitsu)
The patch looks good to me. The URI parsing process has become more stringent, allowing for accurate handling of leading and trailing whitespace. Additionally, a feature has been implemented to detect errors when extraneous data is present at the end of the URI. The proper functioning of these cha

[BUG FIX]Connection fails with whitespace after keepalives parameter value

2024-10-01 Thread Yuto Sasaki (Fujitsu)
Hi hackers, I've discovered a bug in ECPG that causes database connection failures. This issue appears to stem from libpq layer. Found bug: The EXEC SQL CONNECT TO statement fails to connect to the database. Specifically, the following code: ```c EXEC SQL CONNECT TO tcp:postgresql://localhost:5