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

From Terry Brown
Subject Re: psql: Add setting to make '+' on \d implicit
Date
Msg-id 20100424090154.0573dbdd@nrri.umn.edu
Whole thread Raw
In response to Re: psql: Add setting to make '+' on \d implicit  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, 23 Apr 2010 14:28:38 -0400
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> If we were to do something like that, it would certainly have to affect
> every \d variant that has a + option.  Which is probably not a very good
> idea --- in many cases that's a very expensive/verbose option.  I can't
> get excited about this proposal, personally.

I was thinking of affecting all \d* commands, didn't know some were expensive though.

> What the OP actually seemed to care about was database object comments.
> I could see somebody who relied heavily on comments wanting his comments
> to be included in all display commands, even without the + option.
> Maybe a configuration variable along the lines of 'always_show_comments'
> would be a better design.

Sounds good, comment visibility is my goal.  I know full metadata should be handled in other ways, but I like to do
mostprocessing in psql sessions for the self documenting effect, and seeing comments helps in that context.  If \pset's
notthe right place anywhere else would be fine.
 

Thanks for considering,
Cheers -Terry


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Add missing optimizer hooks for function cost and number of rows.
Next
From: Terry Brown
Date:
Subject: Re: psql: Add setting to make '+' on \d implicit