postgresql/src/test
Tom Lane cbba55d6d7 Support min/max index optimizations on boolean columns.
Since bool_and() is equivalent to min(), and bool_or() to max(), we might
as well let them be index-optimized in the same way.  The practical value
of this is debatable at best, but it seems nearly cost-free to enable it.
Code-wise, we need only adjust the entries in pg_aggregate.  There is a
measurable planning speed penalty for a query involving one of these
aggregates, but it is only a few percent in simple cases, so that seems
acceptable.

Marti Raudsepp, reviewed by Abhijit Menon-Sen
2012-02-08 12:41:48 -05:00
..
examples Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
isolation Add simple tests of EvalPlanQual using the isolationtester infrastructure. 2012-01-28 17:55:08 -05:00
locale Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
mb Minor improvements to mbregress.sh script. 2011-09-01 09:21:10 -04:00
performance Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
regress Support min/max index optimizations on boolean columns. 2012-02-08 12:41:48 -05:00
thread Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00