Re: Transaction status in default psql prompt?

From: Rod Taylor <rbt(at)rbt(dot)ca>
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-03 20:06:30
Message-ID: 1062619589.82807.18.camel@jester
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2003-09-03 at 19:53, Peter Eisentraut wrote:
> What do people think about adding the transaction status indicator to the
> default psql prompt, so it'd look something like this:
>
> peter=# begin;
> BEGIN
> peter*=# foo;
> ERROR: syntax error at or near "foo" at character 1
> peter!=# rollback;
> ROLLBACK
> peter=#
>
> I think many people would find that useful.

Great idea. Would it be worth while adding the depth with the
assumption that sub-transactions will appear someday?

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bo Lorentsen 2003-09-03 20:08:47 Re: Using oids
Previous Message ohp 2003-09-03 20:05:33 Re: Unixware Patch (Was: Re: Beta2 Tag'd and Bundled ...)