

> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us] 
> Sent: 19 April 2002 19:54
> To: Rod Taylor
> Cc: Hackers List
> Subject: Re: Really annoying comments... 
> 
> 
> "Rod Taylor" <rbt@zort.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 ;-).  

Eeep! pgAdmin handles comments coming from multiple pg_description tables
and it works very well (IMHO) in the pgAdmin UI. By all means make them work
more sensibly in whatever way seems most appropriate - I'll fix pgAdmin to
handle it, but don't just rip them out please!!

Regards, Dave.

Sun, 21 Apr 2002 19:37:30 +0100
Dave Page <dpage@vale-housing.co.uk>
Re: Really annoying comments... 
Dave Page <dpage@vale-housing.co.uk> writes:
>> I'm more inclined to rip it out ;-).  

> Eeep! pgAdmin handles comments coming from multiple pg_description tables
> and it works very well (IMHO) in the pgAdmin UI. By all means make them work
> more sensibly in whatever way seems most appropriate - I'll fix pgAdmin to
> handle it, but don't just rip them out please!!

Well, it would seem like the only sensible rule would be to allow
COMMENT ON DATABASE only for the *current* database.  Then at least
you know which DB to look in.

			regards, tom lane

Sun, 21 Apr 2002 14:44:42 -0400
Tom Lane <tgl@sss.pgh.pa.us>
Re: Really annoying comments... 