From: | "Ross J(dot) Reedstrom" <reedstrm(at)rice(dot)edu> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: psql: Add setting to make '+' on \d implicit |
Date: | 2010-04-23 18:11:32 |
Message-ID: | 20100423181132.GG32682@rice.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)rice(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Heikki Linnakangas | 2010-04-23 18:21:57 | Re: recovery_connections cannot start (was Re: master in standby mode croaks) |
Previous Message | Tom Lane | 2010-04-23 18:09:35 | Re: recovery_connections cannot start (was Re: master in standby mode croaks) |