On 9/4/2015 12:01 PM, Alvaro Herrera wrote:
> Amit Langote wrote:
>> On 9/4/2015 9:22 AM, Tatsuo Ishii wrote:
>>>
>>> 3) I wonder if other index type is suffered by this type of bug.
>>>
>>
>> About 3, it seems unlikely. Both the IndexBuildHeapRangeScan() and
>> heap_setscanlimits() were introduced by the BRIN patch and I didn't find
>> anything else using it, yet.
>
> As I recall, there's some patch that Robert Haas or Amit Kapila that
> wants to use that function. Maybe something in the parallel seqscan
> patch series?
I just checked Amit Kapila's latest[1] patch, and found they have since
abandoned the heap_setscanlimits() approach.
Thanks,
Amit
[1]
http://www.postgresql.org/message-id/CAA4eK1J6SqOEAkxidoxp7kqx2_D-XNspx4rq4AO17P+SqKygFw@mail.gmail.com