Re: bug w/ cursors and savepoints

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: 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-26 22:56:23
Message-ID: 21433.1106780183@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> On Wed, Jan 26, 2005 at 05:10:09PM -0500, Tom Lane wrote:
>> I don't think we have a lot of choices: we have to destroy (or at least
>> mark FAILED) all such cursors for the time being.

> I don't see a lot of difference between marking the portal FAILED and
> destroying it (maybe I'm looking at the wrong code). So I just took the
> simpler approach; patch attached.

Mainly just that it'll be easier to improve the code later if we don't
have to put back something we removed. I'll tweak the patch to do that.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2005-01-26 23:55:47 Re: bug w/ cursors and savepoints
Previous Message Hannu Krosing 2005-01-26 22:50:36 Re: Concurrent free-lock