Re: What is HeapScanDescData.rs_initblock good for? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: What is HeapScanDescData.rs_initblock good for?
Date
Msg-id 18414.1437675287@sss.pgh.pa.us
Whole thread Raw
In response to Re: What is HeapScanDescData.rs_initblock good for?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: What is HeapScanDescData.rs_initblock good for?
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> Tom Lane wrote:
>> I'm inclined to let it call heap_setscanlimits only if not allow_sync.

> It is possible for a partial range scan to join an existing herd of
> scans that happens to be processing that part of the table, in which
> case this wouldn't be sufficient.  However, two considerations: 1) range
> scans, at least for BRIN, aren't normally large enough for synscans to
> matter all that much; and 2) it would require additional code.  So I'm
> inclined to do it as you suggest, which is simplest.

I already did that, but feel free to whack it further if you're so
inclined.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Florent Guiliani
Date:
Subject: Re: Retrieve the snapshot's LSN
Next
From: Alvaro Herrera
Date:
Subject: Re: A little RLS oversight?