COMMENT and inheritance - Mailing list pgsql-general

From Kaloyan Iliev
Subject COMMENT and inheritance
Date
Msg-id 4443C5D4.6040604@faith.digsys.bg
Whole thread Raw
List 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 by date:

Previous
From: Rich Shepard
Date:
Subject: Syntax Help Requested
Next
From: Justin Pasher
Date:
Subject: Will changing the server date/time cause problems?