Обсуждение: Adding or altering column comment

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

Adding or altering column comment

От
richard terry
Дата:
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
Дата:
On Mon, Nov 16, 2009 at 4:51 PM, richard terry <rterry@pacific.net.au> 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