psql: Add setting to make '+' on \d implicit

Поиск
Список
Период
Сортировка
От Terry Brown
Тема psql: Add setting to make '+' on \d implicit
Дата
Msg-id 20100423105840.49b08999@nrri.umn.edu
обсуждение исходный текст
Ответы Re: psql: Add setting to make '+' on \d implicit
Список pgsql-hackers
I asked on IRC if there was any way to make \d behave like \d+ by default, and davidfetter said no but suggest it
here.

endpoint_david pointed out you could use \d- to get the old behavior if you wanted to temporarily negate the setting.

So the proposal would be:

\d+ does as it has always done, no change
\d- (new) always behaves like 'old' \d
\d  acts as 'old' \d or as \d+, depending on the setting of 'verbose_describe', set via \pset.

Default setting of verbose_describe would presumably yield 'old' behavior.

Motivation is that I like to see comments when they exist.  Probably useful for other reasons too.

Cheers -Terry


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Issue with ReRaise in PG
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Issue with ReRaise in PG