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

From Bruce Momjian
Subject Re: Transaction status in default psql prompt?
Date
Msg-id 200309040331.h843Vt909373@candle.pha.pa.us
Whole thread Raw
In response to Re: Transaction status in default psql prompt?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Transaction status in default psql prompt?
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > If you take a close look at the output above, you will see that the
> > prompt shifts one character to the right when you are in a transaction. 
> > That is going to look terrible.
> 
> It didn't look so bad to me.  But anyway, what the %T indicator should
> look like is an orthogonal discussion from whether it should be in the
> default prompt, no?

Yes, I like the transaction status being the default prompt, but I don't
like the prompt shifting.  Remember guys who have the current directory
in their prompt --- the thing bounces around all over the place.

Maybe a natural indenting of the transaction commands will look good ---
I don't know, but I think we should look at it before making the
decision on the default appearance.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Transaction status in default psql prompt?
Next
From: Larry Rosenman
Date:
Subject: ANONCVS? Is it being updated correctly?