Re: Updated backslash consistency patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, jd(at)commandprompt(dot)com, Greg Stark <greg(dot)stark(at)enterprisedb(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Updated backslash consistency patch
Date: 2009-01-15 19:59:00
Message-ID: 10548.1232049540@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

David Fetter <david(at)fetter(dot)org> writes:
> On Thu, Jan 15, 2009 at 01:46:08PM -0500, Robert Haas wrote:
>> That's better than nothing, but it still doesn't help when I want to do:
>> psql -c '\df' | grep bool

> psql -c '\dfS' |grep bool

That presumes the opposite case, when you only want to see system
functions.

I hesitate to suggest this, but maybe an acceptable compromise is
\df -> old behavior
\dfS -> only system functions
\dfU -> only user functions

I do not actually believe that either of the latter really makes
sense in combination with a pattern, but if people are going to
insist on seeing a misleading view of the system state, let's at
least make it symmetric.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2009-01-15 20:03:46 Re: FWD: Re: Updated backslash consistency patch
Previous Message David Fetter 2009-01-15 19:44:32 Re: Updated backslash consistency patch