Re: Consistent \d commands in psql

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Consistent \d commands in psql
Дата
Msg-id
28526.1206978259@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Consistent \d commands in psql Greg Sabino Mullane <greg@turnstep.com>
Re: Consistent \d commands in psql Bruce Momjian <bruce@momjian.us>
Re: Consistent \d commands in psql Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistent \d commands in psql Gregory Stark <stark@enterprisedb.com>
Re: Consistent \d commands in psql Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistent \d commands in psql Alvaro Herrera <alvherre@commandprompt.com>
Re: Consistent \d commands in psql "Brendan Jurd" <direvus@gmail.com>
Re: Consistent \d commands in psql Gregory Stark <stark@enterprisedb.com>
Re: Consistent \d commands in psql Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistent \d commands in psql Gregory Stark <stark@enterprisedb.com>
Re: Consistent \d commands in psql Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistent \d commands in psql David Fetter <david@fetter.org>
Re: Consistent \d commands in psql Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistent \d commands in psql "Brendan Jurd" <direvus@gmail.com>
Re: Consistent \d commands in psql Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistent \d commands in psql "Greg Sabino Mullane" <greg@turnstep.com>
Re: Consistent \d commands in psql Bruce Momjian <bruce@momjian.us>
Re: Consistent \d commands in psql Tom Lane <tgl@sss.pgh.pa.us>
Re: Consistent \d commands in psql Gregory Stark <stark@enterprisedb.com>
Re: Consistent \d commands in psql "Brendan Jurd" <direvus@gmail.com>
Re: Consistent \d commands in psql Andrew Dunstan <andrew@dunslane.net>
Re: Consistent \d commands in psql Magnus Hagander <magnus@hagander.net>
Re: Consistent \d commands in psql Gregory Stark <stark@enterprisedb.com>
Re: Consistent \d commands in psql "Brendan Jurd" <direvus@gmail.com>
Re: Consistent \d commands in psql "Heikki Linnakangas" <heikki@enterprisedb.com>
Gregory Stark  writes:
> One --perhaps nice, perhaps not-- property of this is that if you defined a
> function named "rtrim" and then did "\df rtrim" it would show you _both_ the
> system and user function and make it easier to see the conflict. Whereas the
> other behaviour I proposed would hide the system function which might
> exacerbate the user's confusion.

Yeah, that is a very good point indeed.

Another way we could approach this is

	\df	-> all functions
	\dfS	-> sys functions only
	\dfU	-> user functions only

which avoids falling into the trap Greg mentions.

			regards, tom lane
В списке pgsql-patches по дате отправления
От: Gregory Stark
Дата:
От: Andrew Dunstan
Дата:
FAQ