Re: query column def

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: query column def
Дата
Msg-id 10214.998421779@sss.pgh.pa.us
обсуждение исходный текст
Ответ на query column def  (Peter Harvey <pharvey@codebydesign.com>)
Список pgsql-hackers
Peter Harvey <pharvey@codebydesign.com> writes:
> Is this information availible somewhere in the catalog tables?

Yes, in the atttypmod column of pg_attribute.

I'd recommend looking at psql's \d commands (describe.c), or at
pg_dump, to see the approved way to retrieve catalog info.  Those
are kept up to date pretty faithfully, whereas other interfaces
aren't necessarily.  (Feel free to submit a patch to fix ODBC...)
        regards, tom lane


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

Предыдущее
От: Lamar Owen
Дата:
Сообщение: Re: Link to bug webpage
Следующее
От: Andrew McMillan
Дата:
Сообщение: Re: Link to bug webpage