• Tom Lane's avatar
    Fix CREATE INDEX CONCURRENTLY so that it won't use synchronized scan for · d3b1b1f9
    Tom Lane authored
    its second pass over the table.  It has to start at block zero, else the
    "merge join" logic for detecting which TIDs are already in the index
    doesn't work.  Hence, extend heapam.c's API so that callers can enable or
    disable syncscan.  (I put in an option to disable buffer access strategy,
    too, just in case somebody needs it.)  Per report from Hannes Dorbath.
    d3b1b1f9
heapam.h 9.67 KB