Fix oversight in recent parameterized-path patch.
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/path/indxpath.c | modified | +8 −5 |
| src/test/regress/expected/create_index.out | modified | +51 −0 |
| src/test/regress/sql/create_index.sql | modified | +16 −0 |