Re: [GENERAL] psql feature request (\dd+)

2010-05-14 Thread Tom Lane
Craig Ringer writes: > What gets me with Pg's COMMENT ON is the way the comments have to be > separate from, and after, the objects they refer to. IMO it'd be > significantly preferable to have something like: > CREATE TABLE X ( > somepk integer primary key, > cost numeric(10,2) COMMENT

Re: [GENERAL] psql feature request (\dd+)

2010-05-14 Thread Craig Ringer
On 14/05/2010 11:35 PM, Richard Broersma wrote: It'd be nice if there was a \dd+ command to return all of the comments of dependent objects in addition to the specified object; i.e. all dependent objects related to a table for example. What gets me with Pg's COMMENT ON is the way the comments

[GENERAL] psql feature request (\dd+)

2010-05-14 Thread Richard Broersma
It'd be nice if there was a \dd+ command to return all of the comments of dependent objects in addition to the specified object; i.e. all dependent objects related to a table for example. Notice the difference between difference between a well documented DDL script versus the results returned by