pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedCan we adjust postgres logging to also dump the bind variable data when an error occurs
2+ messages / 2 participants
[nested] [flat]
* Can we adjust postgres logging to also dump the bind variable data when an error occurs
@ 2006-05-01 22:25 bfraci@aol.com
0 siblings, 1 reply; 2+ messages in thread
From: bfraci@aol.com @ 2006-05-01 22:25 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Can we adjust postgres logging to also dump the bind variable data when an error occurs
@ 2006-05-04 18:13 Jim C. Nasby <jnasby@pervasive.com>
parent: bfraci@aol.com
0 siblings, 0 replies; 2+ messages in thread
From: Jim C. Nasby @ 2006-05-04 18:13 UTC (permalink / raw)
To: bfraci@aol.com; +Cc: pgsql-admin
On Mon, May 01, 2006 at 06:25:49PM -0400, bfraci@aol.com wrote:
> 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.
Setting log_error_verbosity to verbose might do the trick...
--
Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-05-04 18:13 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-05-01 22:25 Can we adjust postgres logging to also dump the bind variable data when an error occurs bfraci@aol.com
2006-05-04 18:13 ` Jim C. Nasby <jnasby@pervasive.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox