Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

Next:From: bpalmerDate: 2002-02-22 16:33:34
Subject: Re: Replication direction
Previous:From: Bruce MomjianDate: 2002-02-22 16:15:11
Subject: Re: CLUSTER TODO item

pgsql-patches by date

Next:From: Greg Sabino MullaneDate: 2002-02-22 17:12:39
Subject: Re: Automatic transactions in psql
Previous:From: Bruce MomjianDate: 2002-02-22 16:12:56
Subject: Re: Automatic transactions in psql

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group