pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: bfraci@aol.com
To: pgsql-admin@postgresql.org
Subject: Can we adjust postgres logging to also dump the bind variable data when an error occurs
Date: Mon, 01 May 2006 18:25:49 -0400
Message-ID: <8C83B8555225B23-1658-67F4@FWM-D25.sysops.aol.com> (raw)

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

view thread (2+ messages)  latest in thread

Message-ID: <8C83B8555225B23-1658-67F4@FWM-D25.sysops.aol.com>
Permalink:  ../8C83B8555225B23-1658-67F4@FWM-D25.sysops.aol.com/
Also on:    postgresql.org/message-id/8C83B8555225B23-1658-67F4@FWM-D25.sysops.aol.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bfraci@aol.com
  Subject: Re: Can we adjust postgres logging to also dump the bind variable data when an error occurs
  In-Reply-To: <8C83B8555225B23-1658-67F4@FWM-D25.sysops.aol.com>
  References: <8C83B8555225B23-1658-67F4@FWM-D25.sysops.aol.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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