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 descriptions Schema | Name | Object | Description --------+------------+--------+------------------------- public | db_version | table | Managed in nautilus.xml ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings