postgresql/src/test/regress
Daniel Gustafsson d959523257 Disallow NULLS NOT DISTINCT indexes for primary keys
A unique index which is created with non-distinct NULLS cannot be
used for backing a primary key constraint.  Make sure to disallow
such table alterations and teach pg_dump to drop the non-distinct
NULLS clause on indexes where this has been set.

Bug: 17720
Reported-by: Reiner Peterke <zedaardv@drizzle.com>
Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/17720-dab8ee0fa85d316d@postgresql.org
2023-02-24 11:09:50 +01:00
..
data Fix full text search to handle NOT above a phrase search correctly. 2020-04-27 12:21:04 -04:00
expected Disallow NULLS NOT DISTINCT indexes for primary keys 2023-02-24 11:09:50 +01:00
sql Disallow NULLS NOT DISTINCT indexes for primary keys 2023-02-24 11:09:50 +01:00
.gitignore Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
GNUmakefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
Makefile Fix non-GNU makefiles for AIX make. 2017-11-30 00:57:22 -08:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
parallel_schedule Create regress_tblspc in test_setup 2023-02-11 10:03:04 -08:00
pg_regress_main.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_regress.c Consider a failed process as a failed test in pg_regress 2023-02-23 09:25:47 +01:00
pg_regress.h Update copyright for 2023 2023-01-02 15:00:37 -05:00
README
regress.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
regressplans.sh Fix inconsistencies in the code 2019-07-08 13:15:09 +09:00
resultmap Remove HP-UX port. 2022-07-08 14:05:05 +12: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".