Re: How to retrieve a comment/description from a table

Поиск
Список
Период
Сортировка
От Peter Gibbs
Тема Re: How to retrieve a comment/description from a table
Дата
Msg-id 007001c24ab9$0175d5a0$0b01010a@emkel.co.za
обсуждение исходный текст
Ответ на Re: How to retrieve a comment/description from a table  (Darren Ferguson <darren@crystalballinc.com>)
Список pgsql-general
Marcus Claesson wrote:

> What I wish is to retrieve the comment with a sql question, which would
work
> if the '\d+ information' could be found in an actual table somewhere.

select obj_description(oid, 'pg_class')
  from pg_class
  where relname = 'tablename';
--
Peter Gibbs
EmKel Systems



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: How to retrieve a comment/description from a table
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Mysql -> PgSQL