Re: Exec statement logging

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Exec statement logging
Дата
Msg-id 200505162242.j4GMgdg14597@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Exec statement logging  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > a null for the prepare string.  Also, rather than change the API for
> > pg_parse_query(), I use a global variable that I check after the
> > function call.
>
> This is horribly ugly and will doubtless lead to pfree crashes.  What
> was the point again?

Can we change the API of pg_parse_query() to optionally return a PREPARE
string?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Exec statement logging
Следующее
От: Greg Sabino Mullane
Дата:
Сообщение: Quick little \h enhancement for psql