Re: Retrieving a column comment

Поиск
Список
Период
Сортировка
От Oliver Kohll
Тема Re: Retrieving a column comment
Дата
Msg-id 200310270013.06851.oliver@gtwebmarque.com
обсуждение исходный текст
Ответ на Re: Retrieving a column comment  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
Список pgsql-general
On Sunday 26 October 2003 23:03, Alvaro Herrera wrote:
> 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.

Great, thanks Alvaro. The webpage I found the original code in must have been
wrong but that's it.

Oliver


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Retrieving a column comment
Следующее
От: Adam Witney
Дата:
Сообщение: Re: shared memory on OS X - 7.4beta4