postgresql/src/test/regress
Robert Haas 7b88d63a91 Add null test to partition constraint for default range partitions.
Non-default range partitions have a constraint which include null
tests, and both default and non-default list partitions also have a
constraint which includes null tests, but for some reason this was
missed for default range partitions.  This could cause the partition
constraint to evaluate to false for rows that were (correctly) routed
to that partition by insert tuple routing, which could in turn
cause constraint exclusion to prune the default partition in cases
where it should not.

Amit Langote, reviewed by Kyotaro Horiguchi

Discussion: http://postgr.es/m/ba7aaeb1-4399-220e-70b4-62eade1522d0@lab.ntt.co.jp
2017-11-28 10:51:01 -05:00
..
data Improve key representation for GIN jsonb_ops, and fix existence-search bug. 2014-05-09 08:41:26 -04:00
expected Add null test to partition constraint for default range partitions. 2017-11-28 10:51:01 -05:00
input Add more tests for reloptions 2017-10-19 14:22:05 +02:00
output Add more tests for reloptions 2017-10-19 14:22:05 +02:00
sql Add null test to partition constraint for default range partitions. 2017-11-28 10:51:01 -05:00
.gitignore Update .gitignore for config.cache. 2014-12-18 19:56:42 +09:00
GNUmakefile Add a temp-install prerequisite to "check"-like targets not having one. 2017-11-05 18:51:08 -08:00
Makefile Remove remains of old depend target. 2007-01-20 17:16:17 +00:00
parallel_schedule Fix multiple problems with satisfies_hash_partition. 2017-11-21 13:06:32 -05:00
pg_regress.c Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
pg_regress.h Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
pg_regress_main.c Fix inclusions of postgres_fe.h from .h files. 2017-03-08 20:41:06 -05:00
README Don't generate plain-text HISTORY and src/test/regress/README anymore. 2014-02-10 20:48:04 -05:00
regress.c Document and use SPI_result_code_string() 2017-10-04 22:14:21 -04:00
regressplans.sh Rename 'gmake' to 'make' in docs and recommended commands 2014-02-12 17:29:19 -05:00
resultmap Enable compiling with the mingw-w64 32 bit compiler. 2011-12-10 15:35:41 -05:00
serial_schedule Fix multiple problems with satisfies_hash_partition. 2017-11-21 13:06:32 -05:00
standby_schedule Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00

Documentation concerning how to run these regression tests and interpret
the results can be found in the PostgreSQL manual, in the chapter
"Regression Tests".