Re: FWD: Re: Updated backslash consistency patch

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Gregory Stark <stark(at)enterprisedb(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Brendan Jurd <direvus(at)gmail(dot)com>, Greg Sabino Mullane <greg(at)turnstep(dot)com>
Subject: Re: FWD: Re: Updated backslash consistency patch
Date: 2009-01-20 15:17:23
Message-ID: 200901201517.n0KFHNn24949@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Robert Haas wrote:
> > Here is what I hope is a consensus patch. It adds 'A' to show all
> > objects, including system ones. It turns out that this is how 'S' works
> > now in CVS, but 'S' is unclear because it suggests just system objects;
> > 'A' for show 'all' objects seems clearer.
>
> I think it's probably fine for "S" to mean "include system objects"
> rather than "show only system objects". Everyone should be relatively
> used to "S" by now; I think it's less confusing to keep the same
> letter even if the behavior has been adjusted somewhat. Though others
> may disagree?

OK, so you are saying you like the behavior in current CVS, which uses
'S' as you described.

In thinking last night, I am now wondering if a letter is really the
right symbol for this. We already have letter flags which control
object type selection, but the system table addition is kind of
independent of those flags, like '+' now. I am thinking maybe '&' is
the right symbol rather than 'A' or 'S'.

\df

and

\df&

'&' would stand for "and system objects". We could use '*' but that
might be confused with a wildcard symbol.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-01-20 15:32:29 Re: FWD: Re: Updated backslash consistency patch
Previous Message Magnus Hagander 2009-01-20 15:09:51 Re: libpq WSACleanup is not needed