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

Re: bug w/ cursors and savepoints

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Neil Conway <neilc(at)samurai(dot)com>,pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: bug w/ cursors and savepoints
Date: 2005-01-27 23:31:54
Message-ID: 20050127233154.GD27963@dcc.uchile.cl (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, Jan 28, 2005 at 12:27:05PM +1300, Oliver Jowett wrote:
> Oliver Jowett wrote:
> >Having the close fail 
> >because of an intervening savepoint rollback isn't great -- the error 
> >will cause an unexpected failure of the current transaction.
> 
> Never mind -- I just reread the protocol docs, and it's safe to close a 
> nonexistant portal. Did this previously issue a warning, or something 
> similar? I'm sure I had seen problems in this area in the past..

Not sure ... however I remember somebody complained because the SQL
level interface differed from the protocol level one on this point.

-- 
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"In a specialized industrial society, it would be a disaster
to have kids running around loose." (Paul Graham)

In response to

pgsql-hackers by date

Next:From: Kenneth LareauDate: 2005-01-27 23:35:41
Subject: Re: Strange issue with initdb on 8.0 and Solaris automounts
Previous:From: David ParkerDate: 2005-01-27 23:28:40
Subject: Re: Strange issue with initdb on 8.0 and Solaris automounts

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