COMMENT and inheritance

Поиск
Список
Период
Сортировка
От Kaloyan Iliev
Тема COMMENT and inheritance
Дата
Msg-id 4443C5D4.6040604@faith.digsys.bg
обсуждение исходный текст
Список pgsql-general
Hello All,

I want to ask is there a way to inherit table column comments. I have a
table that is base for almost all other tables in my database (they
inherit it).
So the new tables receive their fields from the base table. But if I
want to put comments on this fields I must write COMMENT for every table
and columnt(nevertheless that they are all the same). So shouldn't it be
good if there is no comment for the column in the child table but there
is comment in the parent the comment to apear in the \d+ for the child
table. I write comments to use postgresql_autodoc and this blank columns
really makes me trouble.

Thanks for the answers in advance.

Kaloyan Iliev


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

Предыдущее
От: Rich Shepard
Дата:
Сообщение: Syntax Help Requested
Следующее
От: Justin Pasher
Дата:
Сообщение: Will changing the server date/time cause problems?