Erwin Brandstetter wrote:
>
> - Trying to add a comment to UNIQUE CONSTRAINT fails altogether.
Actually, it doesn't fail to write. It just doesn't show up anywhere in
pgadmin afterwards.
psql doesn't seem to have a meta-command to retrieve comments on
constraints. But checking by OID with "obj_description" reveals it:
SELECT obj_description(2666870, 'pg_constraint');
Regards
Erwin