Advance multiple array keys rightmost-first instead of leftmost-first
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Mar 2008 03:54:52 +0000 (03:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Mar 2008 03:54:52 +0000 (03:54 +0000)
commit6dd4f7a66425a2aa452b51fbe1c95bbfb7c9e893
treec0898abe189317ab0180ba27ed754e90065220f4
parent41ee4783e100691871218fdd363fd32506684c6f
Advance multiple array keys rightmost-first instead of leftmost-first
during a bitmap index scan.  This cannot affect the query results
(since we're just dumping the TIDs into a bitmap) but it might offer
some advantage in locality of access to the index.  Per Greg Stark.
src/backend/executor/nodeIndexscan.c