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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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