Re: Custom type - Mailing list pgsql-sql

From Bryce Nesbitt
Subject Re: Custom type
Date
Msg-id 4421BC95.1030005@obviously.com
Whole thread Raw
In response to Re: Custom type  (Terry Lee Tucker <terry@esc1.com>)
Responses Re: Custom type
List pgsql-sql
Terry Lee Tucker wrote:
> rnd=# \h comment
> Command:     COMMENT
> Description: define or change the comment of an object
> ..I believe this is what you need.
>   
Cool!
That's a great feature.  Though it would be even nicer if the comment
showed when
you "\d" a table::


stage=# comment on table db_version is 'Managed in nautilus.xml';
stage=# \d db_version
         Table "public.db_version"Column  |         Type          | Modifiers
---------+-----------------------+-----------version | character varying(64) |


stage=# \dd db_version
                 Object descriptionsSchema |    Name    | Object |       Description
--------+------------+--------+-------------------------public | db_version | table  | Managed in nautilus.xml



pgsql-sql by date:

Previous
From: Terry Lee Tucker
Date:
Subject: Re: Custom type
Next
From: "Daniel Caune"
Date:
Subject: Re: Custom type