ECPG Refactor: move sqlca variable in ecpg_log()
Yuto Sasaki (Fujitsu) <sasaki.yuto-00@fujitsu.com>
From: "Yuto Sasaki (Fujitsu)" <sasaki.yuto-00@fujitsu.com>
To: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2024-10-10T02:04:28Z
Lists: pgsql-hackers
Attachments
- scope.diff (application/octet-stream) patch
The sqlca variable in the ecpg_log() was declared with an unnecessarily wide scope, so I moved to the appropriate place. Please see attached.
Commits
-
ecpg: Refactor ecpg_log() to skip unnecessary calls to ECPGget_sqlca().
- 7c4d3fe272f3 18.0 landed