Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

COMMENT and inheritance


  • From: Kaloyan Iliev <news1(at)faith(dot)digsys(dot)bg>
  • To: pgsql-general(at)postgresql(dot)org
  • Subject: COMMENT and inheritance
  • Date: Mon, 17 Apr 2006 19:44:04 +0300
  • Message-id: <4443C5D4(dot)6040604(at)faith(dot)digsys(dot)bg>

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




Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group