Re: Notes or comments on columns in a table

Поиск
Список
Период
Сортировка
От Campbell, Lance
Тема Re: Notes or comments on columns in a table
Дата
Msg-id B75CD08C73BD3543B97E4EF3964B7D701F15BE5B@CITESMBX1.ad.uillinois.edu
обсуждение исходный текст
Ответ на Re: Notes or comments on columns in a table  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-admin
I got it to work!  You use the COMMENT in conjunction with \d+.  Very nice.

PostgreSQL Development Team,
Thank you so much for having the COMMENT feature in PostgreSQL.  This is great!


Thanks,

Lance Campbell
Software Architect
Web Services at Public Affairs
217-333-0382




-----Original Message-----
From: pgsql-admin-owner@postgresql.org [mailto:pgsql-admin-owner@postgresql.org] On Behalf Of Thomas Kellerer
Sent: Thursday, February 14, 2013 2:10 PM
To: pgsql-admin@postgresql.org
Subject: Re: [ADMIN] Notes or comments on columns in a table

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


В списке pgsql-admin по дате отправления:

Предыдущее
От: Craig James
Дата:
Сообщение: Re: Notes or comments on columns in a table
Следующее
От: Qingbo Zhou
Дата:
Сообщение: ANALYZE estimates very wrong reltuples