pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: bricklen <bricklen@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Query to help in debugging
Date: Sat, 19 Jan 2013 11:46:27 -0500
Message-ID: <25570.1358613987@sss.pgh.pa.us> (raw)
In-Reply-To: <20130119160512.GA369@momjian.us>
References: <20130117215753.108960@gmx.com>
	<20130118202656.F1C6.65ED1D25@efficlabo.com>
	<CAGrpgQ-4q3LWTf-hdsJDpGsPNBDnyvNgAq2cdPW2Xie_=hyNyg@mail.gmail.com>
	<20130119160512.GA369@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Bruce Momjian <bruce@momjian.us> writes:
> I am wondering if we should make this query more widely used, perhaps by
> putting it in our docs about reporting bugs, or on our website.

I find the manual exclusion list to be poor style, and not at all
future-proof.  Maybe we could use

select name, setting, source from pg_settings
where source not in ('default', 'override');

This would print a few not-all-that-interesting settings made by initdb,
but not having to adjust the exclusion list for different versions is
easily worth that.  I think the source column is potentially useful when
we're casting this type of fishing net, too.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (2+ messages)

Message-ID: <25570.1358613987@sss.pgh.pa.us>
Permalink:  ../25570.1358613987@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/25570.1358613987@sss.pgh.pa.us

 · 

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-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, bricklen@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: Query to help in debugging
  In-Reply-To: <25570.1358613987@sss.pgh.pa.us>
  References: <20130117215753.108960@gmx.com> <20130118202656.F1C6.65ED1D25@efficlabo.com> <CAGrpgQ-4q3LWTf-hdsJDpGsPNBDnyvNgAq2cdPW2Xie_=hyNyg@mail.gmail.com> <20130119160512.GA369@momjian.us> <25570.1358613987@sss.pgh.pa.us>

* 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