Search Postgresql Archives

Re: Column descriptions - could they be propagated to new tables?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 4/5/06, Clive Page <cgp@xxxxxxxxxxxxx> wrote:
> Since I discovered the facilities in Postgres for providing and listing
> column descrptions, I have found them very useful, especially for adding a
> string showing physical units to my columns.

Have you considered using domains for these types?  You can comment
the domain appropriately.  While the domain description will not show
in \d+. to get the description you can do \dT on the domain.

Based on your background I also think you might appreciate domains
from a design perspective.  There are a couple of disadvantages to
using them so I'd suggest reading about them.

merlin


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux