Re: WIP patch for TODO Item: Add prompt escape to display the client and server versions

Поиск
Список
Период
Сортировка
От Dickson S. Guedes
Тема Re: WIP patch for TODO Item: Add prompt escape to display the client and server versions
Дата
Msg-id 1241698179.25272.16.camel@analise3.cresoltec.com.br
обсуждение исходный текст
Ответ на Re: WIP patch for TODO Item: Add prompt escape to display the client and server versions  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: WIP patch for TODO Item: Add prompt escape to display the client and server versions  (Jaime Casanova <jcasanov@systemguards.com.ec>)
Список pgsql-hackers
Em Qui, 2009-05-07 às 10:11 +0300, Peter Eisentraut escreveu:
> On Thursday 07 May 2009 05:23:41 Dickson S. Guedes wrote:
> > This is a WIP patch (for the TODO item in the subject) that I'm putting
> > in the Commit Fest queue for 8.5.
>
> How about you just put the values in a variable and use the existing facility
> to put those variables in the prompt?

Change all "pset.version calculations" in "case 'V'" to something like
"case 'v'" is doing with PG_VERSION? Yes, could be better.

The specific code used to %V and %v in this patch was "inspired" in the
code in connection_warnings function in commands.c, so should this be
"refactored" too?

Thanks.

Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: guediz
http://guedesoft.net - http://planeta.postgresql.org.br

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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Serializable Isolation without blocking
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Serializable Isolation without blocking