Re: change format of logging statements?

Поиск
Список
Период
Сортировка
От Matthew Hixson
Тема Re: change format of logging statements?
Дата
Msg-id BB3CF982-D896-4859-BB7E-58117C57169B@poindextrose.org
обсуждение исходный текст
Ответ на Re: change format of logging statements?  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: change format of logging statements?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
With 8.2.4 is it possible to get Postgres to log incoming SQL
statements the same as they look when written?  Instead of:

DEBUG: insert into foo (name) values ($1);
DETAIL: parameters: $1 = 'stan'

I'd like to see:

DEBUG: insert into foo (name) values ('stan');

This would be extremely helpful when debugging complex Hibernate
generated queries.  I could just copy&paste the query into a psql
session and begin playing with it.
   Thanks,
    -M@

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

Предыдущее
От: "Pat Maddox"
Дата:
Сообщение: Re: Selecting tree data
Следующее
От: "Dave Page"
Дата:
Сообщение: Re: 8.2.3: Server crashes on Windows using Eclipse/Junit