Re: Weird behavior with "sensitive" cursors.

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Daniel F <dbf13db(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Weird behavior with "sensitive" cursors.
Date: 2009-10-01 01:26:11
Message-ID: 20091001012611.GO8280@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane escribió:
> Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> > Tom Lane escribi:
> >> I think we need to ensure that when a cursor is created, it obtains a
> >> private copy of the current snapshot ... but I'm not sure where that
> >> ought to happen. Thoughts?
>
> > Maybe you are right, but I don't think that's the only bug here.
>
> Well, the first problem is that 8.4 is failing to duplicate the
> historical behavior.

Oh! That's easy.

> After that we can think about whether we'd like to
> change the historical behavior. I'm not entirely convinced about that
> yet (and it certainly wouldn't be something I'd want to back-patch).

I don't care enough about that to spend much time on it ...

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

Attachment Content-Type Size
portal-snap.patch text/x-diff 2.3 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2009-10-01 02:12:42 Re: Weird behavior with "sensitive" cursors.
Previous Message Tom Lane 2009-10-01 01:02:39 Re: Weird behavior with "sensitive" cursors.