Re: change format of logging statements?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matthew Hixson <hixson(at)poindextrose(dot)org>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: change format of logging statements?
Date: 2007-10-26 19:22:44
Message-ID: 24930.1193426564@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Matthew Hixson <hixson(at)poindextrose(dot)org> writes:
> 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');

Don't hold your breath. That would require a great deal more smarts
in the logging code (and a great deal more cycles expended) than it
has now.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message cluster 2007-10-26 19:32:30 Re: Selecting K random rows - efficiently!
Previous Message brian 2007-10-26 19:20:19 Re: Selecting tree data