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

From Ross J. Reedstrom
Subject Re: psql: Add setting to make '+' on \d implicit
Date
Msg-id 20100423181132.GG32682@rice.edu
Whole thread Raw
In response to psql: Add setting to make '+' on \d implicit  (Terry Brown <terry_n_brown@yahoo.com>)
Responses Re: psql: Add setting to make '+' on \d implicit  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Apr 23, 2010 at 10:58:40AM -0500, Terry Brown wrote:
> 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.

Hmm, what about all the other + variants? Would this setting affect
them? I'd suggest perhaps it should.

Ross
-- 
Ross Reedstrom, Ph.D.                                 reedstrm@rice.edu
Systems Engineer & Admin, Research Scientist        phone: 713-348-6166
The Connexions Project      http://cnx.org            fax: 713-348-3665
Rice University MS-375, Houston, TX 77005
GPG Key fingerprint = F023 82C8 9B0E 2CC6 0D8E  F888 D3AE 810E 88F0 BEDE


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: recovery_connections cannot start (was Re: master in standby mode croaks)
Next
From: Heikki Linnakangas
Date:
Subject: Re: recovery_connections cannot start (was Re: master in standby mode croaks)