Re: Patch to change psql default banner v6

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Patch to change psql default banner v6
Дата
Msg-id 200805151831.m4FIVW918166@momjian.us
обсуждение исходный текст
Ответ на Re: Patch to change psql default banner v6  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Ответы Re: Patch to change psql default banner v6  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Ron Mayer wrote:
> Alvaro Herrera wrote:
> > Andrew Dunstan wrote:
> >
> >> Welcome to UI development. There is always *far* more argument of minor
> >> matters of appearance than over anything else, in my experience.
> >
> > Which is a good thing (in this case at least), because otherwise we
> > would end up with a crappy UI just because a single person thinks it's
> > "good enough".
>
>
> This makes me think we shouldn't be hard-coding anything at all
> as the welcome message; but rather having a default .psqlrc
> in much the same way that that there's a default /etc/bash.bashrc
> and /etc/csh.login.
>
> Within that default .psqlrc we can put
>     \qecho "Whatever the default message is"
> or
>     select "my message "+version();
> to create the default, but then anyone with their own .psqlrc
> can re-define it to whatever they think is a "good enough" UI.

We could do that but we still have to design the default banner.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Partial match in GIN (next vesrion)
Следующее
От: Andrew Chernow
Дата:
Сообщение: Re: libpq object hooks