Re: Automatic transactions in psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Automatic transactions in psql
Date: 2002-02-22 16:17:25
Message-ID: 17306.1014394645@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message bpalmer 2002-02-22 16:33:34 Re: Replication direction
Previous Message Bruce Momjian 2002-02-22 16:15:11 Re: CLUSTER TODO item

Browse pgsql-patches by date

  From Date Subject
Next Message Greg Sabino Mullane 2002-02-22 17:12:39 Re: Automatic transactions in psql
Previous Message Bruce Momjian 2002-02-22 16:12:56 Re: Automatic transactions in psql