Adding or altering column comment

Поиск
Список
Период
Сортировка
Искать

Adding or altering column comment

От:
richard terry <rterry@pacific.net.au>
Дата:
Hi List,

This should be really simple but I can't find the syntax. I add/alter 
columns/types/defaults etc all the time but I just went to add a comment to a 
column and couldn't find any syntax for this in the docs.

Maybe I'm over-looking something.

Any help appreciated and thanks in advance.

Richard

Re: Adding or altering column comment

От:
Josh Kupershmidt <schmiddy@gmail.com>
Дата:
On Mon, Nov 16, 2009 at 4:51 PM, richard terry  wrote:
> This should be really simple but I can't find the syntax. I add/alter
> columns/types/defaults etc all the time but I just went to add a comment to a
> column and couldn't find any syntax for this in the docs.

Looking for the COMMENT command?

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

Josh
FAQ