Re: Transaction status in default psql prompt?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Transaction status in default psql prompt?
Дата
Msg-id 3140.1062642291@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Transaction status in default psql prompt?  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Transaction status in default psql prompt?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> What do people think about adding the transaction status indicator to the
> default psql prompt, so it'd look something like this:

Okay with me.

> Btw., would anyone mind if the code for this indicator where not %T, but
> say instead %x, because there is a correspondence between psql's codes and
> tcsh's, and tcsh uses %T for the hour of the day, which is something that
> someone might want to add someday.

Go for it.  I chose %T at random, if there's a potential conflict now is
the time to fix it.
        regards, tom lane


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

Предыдущее
От: Doug McNaught
Дата:
Сообщение: Re: [DEFAULT] Daily digest v1.3954 (22 messages)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: compile warnings in CVS HEAD?