Re: How do i give comment for each Field

Поиск
Список
Период
Сортировка
От Thalis A. Kalfigopoulos
Тема Re: How do i give comment for each Field
Дата
Msg-id Pine.LNX.4.21.0107161143250.9097-100000@aluminum.cs.pitt.edu
обсуждение исходный текст
Ответ на How do i give comment for each Field  (Radha <han_radha@yahoo.com>)
Список pgsql-general
On Mon, 16 Jul 2001, Radha wrote:

>
>
> Hi,
>
>     I need to store some comments/definition for every field in a
> table. Is there a way to give comment for the columns while creating the
> table itself or after that?
>
> I see something like 'Description' when i want to see the list of
> tables/fields in the table using '\d'. Have anyone used this
> 'Description'?
>
> Any help would be appreciated. Thanx in advance.

You can add comments for the fields after table creation using the COMMENT command in psql. Do \h COMMENT to see the
syntax.

cheers,
thalis

>
> bye
> Radha
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>


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

Предыдущее
От: "Mitch Vincent"
Дата:
Сообщение: Re: html to postgres...
Следующее
От: Tony Grant
Дата:
Сообщение: Re: html to postgres...