Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Proposed GUC Variable

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>,pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Proposed GUC Variable
Date: 2002-08-28 06:26:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
On Wed, 28 Aug 2002, Gavin Sherry wrote:

> On Tue, 27 Aug 2002, Tom Lane wrote:
> > Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > > But we should have some default to print some of the query,
> > 
> > Why?  So far you've been told by two different people (make that three
> > now) that such a behavior is useless, and no one's weighed in in its
> > favor ...
> I completely agree. Nothing wrong with adding another guc variable and
> since it is a debug variable people expect lots of verbosity.

Attached is the patch. debug_print_error_query is set to false by default.

For want of a better phrase, I've prepended 'original query: ' to the
error message to highlight why it is in the log.


Attachment: guc.diff.gz
Description: application/x-gzip (1022 bytes)
Attachment: guc-doc.diff.gz
Description: application/x-gzip (316 bytes)

In response to


pgsql-hackers by date

Next:From: Christopher Kings-LynneDate: 2002-08-28 06:53:46
Subject: PREPARE, FK's and VIEWs
Previous:From: Marc LavergneDate: 2002-08-28 04:39:03
Subject: Re: C vs. C++ contributions

pgsql-patches by date

Next:From: Neil ConwayDate: 2002-08-28 06:37:27
Subject: Re: rules regression test fix
Previous:From: Joe ConwayDate: 2002-08-28 04:54:37
Subject: Anonymous-record-types omission

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group