Re: FWD: Re: Updated backslash consistency patch

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: FWD: Re: Updated backslash consistency patch
Дата
Msg-id 200901201517.n0KFHNn24949@momjian.us
обсуждение исходный текст
Ответ на Re: FWD: Re: Updated backslash consistency patch  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: FWD: Re: Updated backslash consistency patch  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: FWD: Re: Updated backslash consistency patch  ("Greg Sabino Mullane" <greg@turnstep.com>)
Re: FWD: Re: Updated backslash consistency patch  (Dimitri Fontaine <dfontaine@hi-media.com>)
Re: FWD: Re: Updated backslash consistency patch  (Stephen Frost <sfrost@snowman.net>)
Список 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@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: libpq WSACleanup is not needed
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: FWD: Re: Updated backslash consistency patch