Re: psql: display of object comments - Mailing list pgsql-hackers

From Josh Kupershmidt
Subject Re: psql: display of object comments
Date
Msg-id CAK3UJREJdHZ-6GCmSfJkKtbzk-JQ3iDcO1JBp3BG6-MA4bcZ6Q@mail.gmail.com
Whole thread Raw
In response to Re: psql: display of object comments  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: psql: display of object comments
List pgsql-hackers
On Fri, Aug 5, 2011 at 8:32 AM, Robert Haas <robertmhaas@gmail.com> wrote:
> I guess my vote is to make the SQL/MED stuff show the description only
> in verbose mode, and always at the end; and revise what we did with
> \dL to put the description at the end even in verbose mode.

Yeah, that sounds fine to me. I've revised the residual patch to do
so, as well as incorporated your earlier suggestion about having \dD
and \dc only display descriptions in verbose-mode.

I did more testing, and found and fixed some brokenness related to
d.objsubid I had introduced into the listConversions() query, as well
as improved the version checking in objectDescription(). Updated patch
attached.

Josh

Attachment

pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Reduce WAL logging of INSERT SELECT
Next
From: Peter Eisentraut
Date:
Subject: Re: cataloguing NOT NULL constraints