Re: Transaction status in default psql prompt?

From: "Jeroen T(dot) Vermeulen" <jtv(at)xs4all(dot)nl>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Transaction status in default psql prompt?
Date: 2003-09-04 08:59:35
Message-ID: 20030904085935.GA59178@xs4all.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 03, 2003 at 11:31:55PM -0400, Bruce Momjian wrote:
>
> 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.

Is that avoidable if you want to be able to indicate nesting level as well?
There may be a simple but difficult choice there. Personally I'd like to
see something like an opening brace ("{") in my prompt for a transaction;
that'd be a nice, nagging reminder that I'm in the middle of unfinished
business.

Jeroen

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Kirkwood 2003-09-04 09:12:15 Re: Is it a memory leak in PostgreSQL 7.4beta?
Previous Message Gavin Sherry 2003-09-04 08:34:41 Re: Stats Collector Error 7.4beta1 and 7.4beta2