postgresql/src/bin
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
..
initdb Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_amcheck Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_archivecleanup Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_basebackup Fix various typos in code and tests 2023-02-09 14:43:53 +09:00
pg_checksums Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_config Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_controldata Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_ctl Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_dump Disallow NULLS NOT DISTINCT indexes for primary keys 2023-02-24 11:09:50 +01:00
pg_resetwal Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_rewind pg_rewind: Fix determining TLI when server was just promoted. 2023-02-23 15:22:53 +02:00
pg_test_fsync Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_test_timing Update copyright for 2023 2023-01-02 15:00:37 -05:00
pg_upgrade Remove useless casts to (void *) in arguments of some system functions 2023-02-07 06:57:59 +01:00
pg_verifybackup Add support for progress reporting to pg_verifybackup 2023-02-06 14:40:31 +09:00
pg_waldump Update copyright for 2023 2023-01-02 15:00:37 -05:00
pgbench pgbench: Prepare commands in pipelines in advance 2023-02-21 10:56:37 +01:00
pgevent Update copyright for 2023 2023-01-02 15:00:37 -05:00
psql Fix small memory leak in psql's \bind command 2023-02-22 14:22:13 +09:00
scripts Add options to control whether VACUUM runs vac_update_datfrozenxid. 2023-01-06 14:17:25 -05:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00