Re: Exec statement logging

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Exec statement logging
Дата
Msg-id 23032.1116294766@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Exec statement logging  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Exec statement logging  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> What was the point again?

> Simon said that the EXECUTE is pretty useless for debugging unless we
> show the prepare query.  His patch shows the prepare query for
> client-side prepare, but not for server side when using the
> PREPARE/EXECUTE commands --- seems we should display it in both cases.

So we need to make sure that prepared statements always capture the
originating query string.  I thought you'd done that by using
debug_query_string ... which is a bit ugly but not horrid.   Why do
we need more mechanism than that?

            regards, tom lane

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: Bunch of tab-completion enhancements for psql
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Exec statement logging