From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | "Rod Taylor" <rbt(at)zort(dot)ca> |
Cc: | "Hackers List" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Really annoying comments... |
Date: | 2002-04-19 18:53:49 |
Message-ID: | 2359.1019242429@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
"Rod Taylor" <rbt(at)zort(dot)ca> writes:
> COMMENT ON DATABASE db IS 'Comment';
> Now switch databases. Comment is gone.
Yeah, it's not very helpful. I'm not sure why we bothered to implement
that in the first place.
> I suppose in order to add a comment field to pg_database it would need
> to be toasted or something (ton of work). Any other way to fix this?
I'm more inclined to rip it out ;-). I don't think it's worth the
trouble. Keeping database comments someplace else than pg_description
is certainly *not* the way to go --- everything that reads them would
have to be tweaked too.
What does need to be added at the moment is COMMENT ON SCHEMA (a/k/a
namespace).
regards, tom lane
From | Date | Subject | |
---|---|---|---|
Next Message | John Gray | 2002-04-19 19:12:06 | commands subdirectory continued -code cleanup |
Previous Message | Tom Lane | 2002-04-19 18:43:42 | Re: Schema (namespace) privilege details |