Re: Get comment - Mailing list pgsql-novice

From Michael Fuhr
Subject Re: Get comment
Date
Msg-id 20041211015530.GA62445@winnie.fuhr.org
Whole thread Raw
In response to Get comment  ("Douglas" <douglas.listas@brturbo.com.br>)
List pgsql-novice
On Fri, Dec 10, 2004 at 08:16:06AM -0300, Douglas wrote:

> I have coments in some tables and columns, how to catch the coment on select ?

Adding a plus sign (+) to psql's \d commands usually shows comments
(\d+, \df+, etc.).  If you want to select comments in your own
queries, you can find out how psql does it by running "psql -E" and
executing \d+.  The -E option tells psql to display the queries it
executes for internal commands; from the output you can see how
psql gets the comments.

See also the "Functions and Operators" chapter of the documentation.
In 7.x see the "Miscellaneous Functions" section; in 8.0 see "System
Information Functions."

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

pgsql-novice by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: can't set sequence
Next
From: Matthew Engelbert
Date:
Subject: Re: Indexing Strategy