]> granicus.if.org Git - postgresql/commit
Fix oversight in recent parameterized-path patch.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Apr 2012 18:17:13 +0000 (14:17 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Apr 2012 18:17:44 +0000 (14:17 -0400)
commit7c85aa39fc08df44e1ce67e651bda4cf7e331580
tree52701e88af63dd95acc3f1d9246929acbab03a5e
parentba3e4157a7d0c7e963a8b800a30b9789aea6dd96
Fix oversight in recent parameterized-path patch.

bitmap_scan_cost_est() has to be able to cope with a BitmapOrPath, but
I'd taken a shortcut that didn't work for that case.  Noted by Heikki.
Add some regression tests since this area is evidently under-covered.
src/backend/optimizer/path/indxpath.c
src/test/regress/expected/create_index.out
src/test/regress/sql/create_index.sql