From: | "Thalis A(dot) Kalfigopoulos" <thalis(at)cs(dot)pitt(dot)edu> |
---|---|
To: | Radha <han_radha(at)yahoo(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: How do i give comment for each Field |
Date: | 2001-07-16 15:44:51 |
Message-ID: | Pine.LNX.4.21.0107161143250.9097-100000@aluminum.cs.pitt.edu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-07-16 15:45:36 | Re: How do i give comment for each Field |
Previous Message | Jim Ballard | 2001-07-16 15:44:03 | Having trouble with Interval computation |