Re: Transaction status in default psql prompt?
От | Bruce Momjian |
---|---|
Тема | Re: Transaction status in default psql prompt? |
Дата | |
Msg-id | 200309040331.h843Vt909373@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?
|
Список | 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 по дате отправления: