| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Ivan Radovanovic <radovanovic(at)gmail(dot)com> |
| Cc: | PostgreSQL mailing lists <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: Bug in psql (\dd query) |
| Date: | 2013-08-21 14:03:48 |
| Message-ID: | 3776.1377093828@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Ivan Radovanovic <radovanovic(at)gmail(dot)com> writes:
> I was checking for way to get object comments, and it seems that \dd has
> bug when it comes to extracting descriptions for constraints.
That code looks right to me, and it works according to a simple test:
d1=# create table foo (f1 int primary key);
CREATE TABLE
d1=# comment on constraint foo_pkey on foo is 'here is a comment';
COMMENT
d1=# \dd
Object descriptions
Schema | Name | Object | Description
--------+----------+------------+-------------------
public | foo_pkey | constraint | here is a comment
(1 row)
What exactly do you think the problem is?
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Joseph Marlin | 2013-08-21 14:08:23 | WAL Replication Working but Not Working |
| Previous Message | Fujii Masao | 2013-08-21 12:09:56 | Re: Strange message from pg_receivexlog |