Re: SSI work for 9.1

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Dan Ports" <drkp(at)csail(dot)mit(dot)edu>
Cc: <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: SSI work for 9.1
Date: 2011-06-09 20:33:25
Message-ID: 4DF0E7C5020000250003E474@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dan Ports <drkp(at)csail(dot)mit(dot)edu> wrote:
> On Thu, Jun 09, 2011 at 01:30:27PM -0400, Dan Ports wrote:
>> On Thu, Jun 09, 2011 at 07:06:18AM -0500, Kevin Grittner wrote:
>>> Sounds reasonable, but why did you pass the snapshot to the
>>> PredicateLockPage() call but not the PredicateLockRelation()
>>> call? Oversight?
>>
>> Yep, just an oversight; long day yesterday. I'll fix the patch
>> shortly
>
> Attached. Only change is the missing snapshot argument to that one
> call.

I am in full agreement with this patch.

It's an interesting coincidence that the two predicate locking calls
which were at the wrong level to have access to the snapshot
information were also at the wrong level to be able to fire them at
only the needed times.

-Kevin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2011-06-09 20:34:13 Re: Postmaster holding unlinked files for pg_largeobject table
Previous Message Alvaro Herrera 2011-06-09 20:26:29 pgsql: Use "transient" files for blind writes