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

Re: Repeated PredicateLockRelation calls during seqscan

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Dan Ports" <drkp(at)csail(dot)mit(dot)edu>,<pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Repeated PredicateLockRelation calls during seqscan
Date: 2011-06-22 16:26:42
Message-ID: 4E01D172020000250003EAA2@gw.wicourts.gov (view raw or flat)
Thread:
Lists: pgsql-hackers
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
 
> Why is the call in ExecSeqScan at all, and not in the node startup
> function?
 
Because when I asked about the placement of such calls in January of
2010 I didn't get any advice which suggested that, and this was a
place I was able to find which worked correctly.  If there's a
better place, based on performance and/or modularity needs, let's
use it.
 
-Kevin

In response to

pgsql-hackers by date

Next:From: Tom LaneDate: 2011-06-22 16:41:10
Subject: Re: Coding style point: "const" in function parameter declarations
Previous:From: Merlin MoncureDate: 2011-06-22 16:24:42
Subject: Re: Coding style point: "const" in function parameter declarations

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