Re: Automatic transactions in psql - Mailing list pgsql-patches

From Tom Lane
Subject Re: Automatic transactions in psql
Date
Msg-id 17306.1014394645@sss.pgh.pa.us
Whole thread Raw
In response to Automatic transactions in psql  ("Greg Sabino Mullane" <greg@turnstep.com>)
List pgsql-patches
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> OK, status on this?  Seems we can't apply the patch as-is because of
> reliability of the status display.  Do people wnat a TODO item?  I don't
> think I want to make an incompatible protocol change for this feature.

I believe Fernando Nasser at Red Hat is currently working on backend
changes to do this properly; so I recommend we not apply the psql hack.

The notion of customizing the psql prompt based on
in-an-xact-block-or-not seems cool; but I do not see how to do it
reliably without a protocol change, and it's not worth that.

            regards, tom lane

pgsql-patches by date:

Previous
From: Fernando Nasser
Date:
Subject: Fix command completion for CREATE TABEL ... AS
Next
From: Bruce Momjian
Date:
Subject: Re: Automatic transactions in psql