]> granicus.if.org Git - postgresql/commit
Teach choose_bitmap_and() to actually be choosy --- that is, try to
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Apr 2005 01:57:34 +0000 (01:57 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 23 Apr 2005 01:57:34 +0000 (01:57 +0000)
commite0928282419237cc95c576b20ab376110ea2a8e2
tree3716dd8a54a4acb9708dcdc5f6400ce50c4a403b
parent4b89126ccc7bed5fd416a76134907cfff56647f4
Teach choose_bitmap_and() to actually be choosy --- that is, try to
make some estimate of which available indexes to AND together, rather
than blindly taking 'em all.  This could probably stand further
improvement, but it seems to do OK in simple tests.
src/backend/optimizer/path/indxpath.c