Re: SQL to get a table columns comments? - Mailing list pgsql-general

From A. Kretschmer
Subject Re: SQL to get a table columns comments?
Date
Msg-id 20070130063211.GB12767@a-kretschmer.de
Whole thread Raw
In response to SQL to get a table columns comments?  ("Timasmith" <timasmith@hotmail.com>)
List pgsql-general
am  Sat, dem 27.01.2007, um 17:57:06 -0800 mailte Timasmith folgendes:
> Hi,
>
> What query can I run to get the comments for my table columns.
>
> i.e. the ones on my 8.1 database added with this command:
>
> COMMENT ON COLUMN addresses.address_id IS 'Unique identifier for the
> addresses table';

Start psql with Option -E and type '\d+ <tablename>'. (without the ')

Then you can see the underlaying SQL-Query to request this.



Andreas
--
Andreas Kretschmer
Kontakt:  Heynitz: 035242/47150,   D1: 0160/7141639 (mehr: -> Header)
GnuPG-ID:   0x3FFF606C, privat 0x7F4584DA   http://wwwkeys.de.pgp.net

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: encode, lower and 0x8a
Next
From: "Hakan Kocaman"
Date:
Subject: Re: PG Email Client