psql: Add setting to make '+' on \d implicit - Mailing list pgsql-hackers

From Terry Brown
Subject psql: Add setting to make '+' on \d implicit
Date
Msg-id 20100423105840.49b08999@nrri.umn.edu
Whole thread Raw
Responses Re: psql: Add setting to make '+' on \d implicit  ("Ross J. Reedstrom" <reedstrm@rice.edu>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Issue with ReRaise in PG
Next
From: Heikki Linnakangas
Date:
Subject: Re: Issue with ReRaise in PG