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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: ECPG Refactor: move sqlca variable in ecpg_log()
Дата
Msg-id 202410101613.dvquuowwuceh@alvherre.pgsql
обсуждение исходный текст
Список pgsql-hackers
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 held.  In the original
coding, it's run without the mutex.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
Voy a acabar con todos los humanos / con los humanos yo acabaré
voy a acabar con todos (bis) / con todos los humanos acabaré ¡acabaré! (Bender)



В списке pgsql-hackers по дате отправления: