Re: Retrieving a column comment

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Retrieving a column comment
Дата
Msg-id 933.1067279203@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Retrieving a column comment  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-general
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> 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.

Actually what he wants is the oid.  relfilenode is not relevant to
anything except the table's disk file name.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Ron
Дата:
Сообщение: Re: PostgreSQL with MS Query?
Следующее
От: Mike Benoit
Дата:
Сообщение: Re: SCSI vs. IDE performance test