Re: Bug #880: COMMENT ON DATABASE depends on current database - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: Bug #880: COMMENT ON DATABASE depends on current database
Date
Msg-id 200301272134.h0RLY4k09056@candle.pha.pa.us
Whole thread Raw
In response to Re: Bug #880: COMMENT ON DATABASE depends on current database  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Bug #880: COMMENT ON DATABASE depends on current
List pgsql-bugs
Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > Do we have psql -l to connect to all the databases to collect comments?
> > I guess we could _try_ to connect to as many databases as possible, but
> > it seems a little overly complex to me.  What do others think?
>
> I tend to think that the functionality to give comments to databases
> should either be redone to work right (for example by storing the comment
> in a global table (but think about the encoding problems)) or be ripped
> out.  Right now the feature to give a comment to a database you presumably
> already know (since you connected to it) does not seem to justify the
> confusion it causes.

Good analysis.  Is removal actually the best solution?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-bugs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Bug #880: COMMENT ON DATABASE depends on current database
Next
From: Rod Taylor
Date:
Subject: Re: Bug #880: COMMENT ON DATABASE depends on current