Re: Notes or comments on columns in a table

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: Notes or comments on columns in a table
Date: 2013-02-14 20:10:10
Message-ID: kfjgap$ouk$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Campbell, Lance wrote on 14.02.2013 20:09:
> PostgreSQL 9.2
>
> When creating a table or altering a column of a table, is there a way
> to add notes on a column?
>

comment on table foo is 'the foo table';
comment on column foo.bar is 'the bar column';

http://www.postgresql.org/docs/current/static/sql-comment.html

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Craig James 2013-02-15 03:38:35 Re: Notes or comments on columns in a table
Previous Message Campbell, Lance 2013-02-14 19:09:17 Notes or comments on columns in a table