Re: How to get the content of Bind variables

Поиск
Список
Период
Сортировка
От Sergei Kornilov
Тема Re: How to get the content of Bind variables
Дата
Msg-id 15259961551544420@myt1-06117f29c1ea.qloud-c.yandex.net
обсуждение исходный текст
Ответ на RE: How to get the content of Bind variables  (ROS Didier <didier.ros@edf.fr>)
Ответы RE: How to get the content of Bind variables
Список pgsql-performance
Hello

Postgresql does not log statement parameters on log_lock_wait. Because this is not implemented:
https://github.com/postgres/postgres/blob/REL_10_STABLE/src/backend/storage/lmgr/proc.c#L1461
Compare with errdetail_params routine in this file:
https://github.com/postgres/postgres/blob/REL_10_STABLE/src/backend/tcop/postgres.c#L1847
 

Currently query parameters can be logged only at the end of successful query execution.

regards, Sergei


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to get the content of Bind variables
Следующее
От: ROS Didier
Дата:
Сообщение: RE: How to get the content of Bind variables