Re: [GENERAL] Comments on columns?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [GENERAL] Comments on columns?
Дата
Msg-id 199903121830.NAA17283@candle.pha.pa.us
обсуждение исходный текст
Ответ на RE: [GENERAL] Comments on columns?  (Michael Davis <michael.davis@prevuenet.com>)
Список pgsql-general
> I did that and it works great.  I would like \dd tablename to show the table
> comment and its column comments.

Yes, I would like this too, and have considered it.  The problem I have
had with system tables is that the oid of the table and columns is
generated at initdb time, and not assigned constant values as the
pg_proc entries are.

I could modify psql to show comments, but I can't figure out how to get
the system tables to show this.

In fact, the TODO list has:

  * allow pg_descriptions when creating types, tables, columns, and functions

--
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Michael Davis
Дата:
Сообщение: RE: [GENERAL] Comments on columns?
Следующее
От: Michael Davis
Дата:
Сообщение: RE: [GENERAL] Comments on columns?