Re: table and column comment

From: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>
To: 'jack' <datactrl(at)tpg(dot)com(dot)au>, pgadmin-support(at)postgresql(dot)org
Subject: Re: table and column comment
Date: 2002-02-26 08:38:20
Message-ID: FED2B709E3270E4B903EB0175A49BCB1047610@dogbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

> -----Original Message-----
> From: jack [mailto:datactrl(at)tpg(dot)com(dot)au]
> Sent: 26 February 2002 02:23
> To: pgadmin-support(at)postgresql(dot)org
> Subject: [pgadmin-support] table and column comment
>
>
> Hi, Dave
>
> I'm using pgadmin2 to develope an apllication on postgreSQL
> server. Would you please advise if I want to use sql
> statements to retrieve or update table and column comment,
> what can I do? Thank you!

Hi Jack,

In pgAdmin, just view the properties for the table or column (right-click
the icon in the treeview, and select 'Properties') and edit the comment in
the dialogue box.

In your application, use the COMMENT ON sql command to set the comments, and
either retrieve the comments from the pg_description table directly, or in
PostgreSQL 7.2 I believe there are some functions to do it for you.

Regards, Dave

Browse pgadmin-support by date

  From Date Subject
Next Message Samuele Brignoli 2002-02-26 09:01:38 R: table and column comment
Previous Message jack 2002-02-26 02:23:21 table and column comment