Can we adjust postgres logging to also dump the bind variable data when an error occurs

Поиск
Список
Период
Сортировка
От bfraci@aol.com
Тема Can we adjust postgres logging to also dump the bind variable data when an error occurs
Дата
Msg-id 8C83B8555225B23-1658-67F4@FWM-D25.sysops.aol.com
обсуждение исходный текст
Ответы Re: Can we adjust postgres logging to also dump the bind variable data when an error occurs  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-admin
I am using Postgres version 8.0.3.  I have noticed that when I set the log_statement parameter to 'all', I get the values for the bind variables.  Is it possible to get all of the same information that I get when I set log_statement to 'all' just for the statement that has an error?  I don't want to clutter up my log file with this detail information for all statements, just those that produce an error.
 
Thanks for your help.
 
Brent

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

Предыдущее
От: jon
Дата:
Сообщение: Re: Postmaster log perms and line suffix
Следующее
От: "Roger Dahlkvist (MO/EAB)"
Дата:
Сообщение: ECCN coding