Re: Bug #880: COMMENT ON DATABASE depends on current database

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Bug #880: COMMENT ON DATABASE depends on current database
Дата
Msg-id 200301272134.h0RLY4k09056@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Bug #880: COMMENT ON DATABASE depends on current database  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Bug #880: COMMENT ON DATABASE depends on current  (Rod Taylor <rbt@rbt.ca>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Bug #880: COMMENT ON DATABASE depends on current database
Следующее
От: Rod Taylor
Дата:
Сообщение: Re: Bug #880: COMMENT ON DATABASE depends on current