Re: Transaction status in default psql prompt? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Transaction status in default psql prompt?
Date
Msg-id 3140.1062642291@sss.pgh.pa.us
Whole thread Raw
In response to Transaction status in default psql prompt?  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: Transaction status in default psql prompt?
List 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 by date:

Previous
From: Doug McNaught
Date:
Subject: Re: [DEFAULT] Daily digest v1.3954 (22 messages)
Next
From: Tom Lane
Date:
Subject: Re: compile warnings in CVS HEAD?