Re: Transaction status in default psql prompt?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Transaction status in default psql prompt?
Date: 2003-09-04 02:24:51
Message-ID: 3140.1062642291@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-09-04 02:30:05 Re: compile warnings in CVS HEAD?
Previous Message Doug McNaught 2003-09-04 01:43:58 Re: [DEFAULT] Daily digest v1.3954 (22 messages)