Transaction status in default psql prompt?

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Transaction status in default psql prompt?
Дата
Msg-id
Pine.LNX.4.44.0309032147530.1035-100000@peter.localdomain
Список
Дерево обсуждения
Transaction status in default psql prompt? Peter Eisentraut <peter_e@gmx.net>
Re: Transaction status in default psql prompt? Rod Taylor <rbt@rbt.ca>
Re: Transaction status in default psql prompt? Darcy Buskermolen <darcy@wavefire.com>
Re: Transaction status in default psql prompt? Bruce Momjian <pgman@candle.pha.pa.us>
Re: Transaction status in default psql prompt? Tom Lane <tgl@sss.pgh.pa.us>
Re: Transaction status in default psql prompt? Bruce Momjian <pgman@candle.pha.pa.us>
Re: Transaction status in default psql prompt? "Jeroen T. Vermeulen" <jtv@xs4all.nl>
Re: Transaction status in default psql prompt? Tom Lane <tgl@sss.pgh.pa.us>
Re: Transaction status in default psql prompt? Bruce Momjian <pgman@candle.pha.pa.us>
What do people think about adding the transaction status indicator to the
default psql prompt, so it'd look something like this:

peter=# begin;
BEGIN
peter*=# foo;
ERROR:  syntax error at or near "foo" at character 1
peter!=# rollback;
ROLLBACK
peter=#

I think many people would find that useful.

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.

-- 
Peter Eisentraut   peter_e@gmx.net


В списке pgsql-hackers по дате отправления
От: Sean Chittenden
Дата:
Сообщение: Re: Win32 native port
От: Neil Conway
Дата:
Сообщение: compile warnings in CVS HEAD?
FAQ