| От | Tom Lane |
|---|---|
| Тема | Re: Exec statement logging |
| Дата | |
| Msg-id | 17963.1116178187@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Exec statement logging (Simon Riggs <simon@2ndquadrant.com>) |
| Ответы |
Re: Exec statement logging
|
| Список | pgsql-patches |
Simon Riggs <simon@2ndquadrant.com> writes:
> On Sat, 2005-05-14 at 16:55 -0400, Bruce Momjian wrote:
>> One thing you did was to log debug_query_string, but I don't see how
>> that could be the right value.
> I used the debug_query_string because even in the EXEC case it is set,
> so that the SQL statement appears correctly in pg_stat_activity. It may
> look wrong, but it is there.
The reason debug_query_string is the right thing is that
exec_execute_message is careful to set it up...
regards, tom lane
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера