Re: Retrieving a column comment

Поиск
Список
Период
Сортировка
Искать
От
Alvaro Herrera
Тема
Re: Retrieving a column comment
Дата
Msg-id
20031026230317.GH12063@dcc.uchile.cl
Ответ на
Список
Дерево обсуждения
Retrieving a column comment Oliver Kohll <oliver@gtwebmarque.com>
Re: Retrieving a column comment Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: Retrieving a column comment Oliver Kohll <oliver@gtwebmarque.com>
Re: Retrieving a column comment Tom Lane <tgl@sss.pgh.pa.us>
On Sun, Oct 26, 2003 at 10:02:22PM +0000, Oliver Kohll wrote:

> I can't seem to retrieve a comment on a table column. The following copy from 
> psql should I think return a comment:
> 
> mydatabase=> SELECT relnamespace FROM pg_class WHERE relname='car';
>  relnamespace
> --------------
>          2200
> (1 row)

Try using relfilenode instead of relnamespace.

-- 
Alvaro Herrera ()
"Hay que recordar que la existencia en el cosmos, y particularmente la
elaboración de civilizaciones dentre de él no son, por desgracia,
nada idílicas" (Ijon Tichy)
В списке pgsql-general по дате отправления
От: Alvaro Herrera
Дата:
От: Oliver Kohll
Дата:
FAQ