From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Greg Copeland <greg(at)CopelandConsulting(dot)Net> |
Cc: | General PostgresSQL Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: SQL Comments |
Date: | 2002-08-08 13:57:22 |
Message-ID: | 2935.1028815042@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-patches |
Greg Copeland <greg(at)CopelandConsulting(dot)Net> writes:
> "\dd Displays all descriptions for all database objects."
> When I do this, I get, "ERROR: No such attribute a.oid". Is this a
> feature? The documentation incorrect? Changed since it was written?
Sounds to me like you are using an older psql with a newer server.
Try to get 'em in sync.
> Also, I noticed that none of the system tables appear to have any
> comments on them. Is that by design, lack of value on doing so, or
> something else I don't understand?
Most of the pg_proc and pg_type entries have comments on 'em --- a grep
for DESCR macros counts:
/home/postgres/pgsql/src/include/catalog/pg_am.h: 4
/home/postgres/pgsql/src/include/catalog/pg_class.h: 8
/home/postgres/pgsql/src/include/catalog/pg_database.h: 1
/home/postgres/pgsql/src/include/catalog/pg_language.h: 3
/home/postgres/pgsql/src/include/catalog/pg_namespace.h: 3
/home/postgres/pgsql/src/include/catalog/pg_proc.h: 1281
/home/postgres/pgsql/src/include/catalog/pg_type.h: 53
There's never been any concerted effort to put comments on anything
else.
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2002-08-08 14:22:53 | Re: any way to check if a transaction is active? |
Previous Message | Tom Lane | 2002-08-08 13:27:26 | Re: C-function and query |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-08-08 14:37:32 | Re: SQL Comments |
Previous Message | Rod Taylor | 2002-08-08 12:07:54 | Documentation update (pg_get_fkeydef, current_database) |