Re: FWD: Re: Updated backslash consistency patch

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: FWD: Re: Updated backslash consistency patch
Дата
Msg-id 496F96A2.1090303@agliodbs.com
обсуждение исходный текст
Ответ на Re: FWD: Re: Updated backslash consistency patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: FWD: Re: Updated backslash consistency patch
Re: FWD: Re: Updated backslash consistency patch
Список pgsql-hackers
Tom,

> The real problem here is that the 'S' suffix for \dt is a bad precedent
> for everything else.  If you want consistency then we need to change
> that end of things.  I think that the idea of a switch to omit system
> objects, rather than include them, might work.

I disagree.  Most users, most of the time, do not want to see system 
objects.  So all of the \d commands should omit system objects by 
default, and we should have one consistent switch across all \d commands 
to include system objects.

Actually, I personally would prefer a *general* switch, that is:

\system on
\system off

... which would turn on and off the display of system objects with all 
\d commands, over extending \d with an array of Hungarian notation suffixes.

--Josh



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Updated backslash consistency patch
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Updated backslash consistency patch