IndexBuildHeapScan and RIDs order - Mailing list pgsql-hackers

From Leonardo F
Subject IndexBuildHeapScan and RIDs order
Date
Msg-id 911859.24290.qm@web29012.mail.ird.yahoo.com
Whole thread Raw
List pgsql-hackers
Hi,

I was looking at the code for bitmap index:

http://archives.postgresql.org/pgsql-hackers/2008-10/msg01691.php

and I couldn't understand why during "bmbuild" (the ambuild call for
bitmap indexes) the code checks for not-ordered ItemPointerData(s).

In which cases the ItemPointerData(s) given by IndexBuildHeapScan

are not in order (when allow_sync=false)?



Leonardo





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [GENERAL] FM format modifier does not remove leading zero from year
Next
From: Robert Haas
Date:
Subject: Re: Writeable CTEs patch