pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <spam_eater@gmx.net>
To: pgsql-admin@postgresql.org
Subject: Re: Notes or comments on columns in a table
Date: Thu, 14 Feb 2013 21:10:10 +0100
Message-ID: <kfjgap$ouk$1@ger.gmane.org> (raw)
In-Reply-To: <B75CD08C73BD3543B97E4EF3964B7D701F15AD68@CITESMBX1.ad.uillinois.edu>
References: <B75CD08C73BD3543B97E4EF3964B7D701F15AD68@CITESMBX1.ad.uillinois.edu>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



-- 
Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-admin



view thread (4+ messages)  latest in thread

Message-ID: <kfjgap$ouk$1@ger.gmane.org>
Permalink:  ../kfjgap$ouk$1@ger.gmane.org/
Also on:    postgresql.org/message-id/kfjgap$ouk$1@ger.gmane.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: spam_eater@gmx.net
  Subject: Re: Notes or comments on columns in a table
  In-Reply-To: <kfjgap$ouk$1@ger.gmane.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox