Skip site navigation (1) Skip section navigation (2)

pgsql: Fix oversight in recent parameterized-path patch.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix oversight in recent parameterized-path patch.
Date: 2012-04-26 18:18:07
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
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.



Modified Files
src/backend/optimizer/path/indxpath.c      |   13 ++++---
src/test/regress/expected/create_index.out |   51 ++++++++++++++++++++++++++++
src/test/regress/sql/create_index.sql      |   16 +++++++++
3 files changed, 75 insertions(+), 5 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2012-04-26 22:29:10
Subject: pgsql: Improve documentation around historical calendar rules.
Previous:From: Peter EisentrautDate: 2012-04-26 18:12:34
Subject: pgsql: PL/Python: Accept strings in functions returning compositetypes

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group