Re: Exec statement logging

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Exec statement logging
Дата
Msg-id 6949.1116107872@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Exec statement logging  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Exec statement logging
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> One thing you did was to log debug_query_string, but I don't see how
> that could be the right value.  I assume it would be empty in a
> client-side execute, or be the previous query.  I instead used "EXECUTE
> portal_name" because that is what we are passed from the client.

You could use portal->sourceText whenever that isn't null; it should be
the querystring that the portal was created by.

            regards, tom lane

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: [HACKERS] plperl and pltcl installcheck targets
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] pgsql config flag update: apple rendezvous renamed bonjour