postgresql/src
David Rowley c85977d8fe Doc: mention foreign keys can reference unique indexes
We seem to have only documented a foreign key can reference the columns of
a primary key or unique constraint.  Here we adjust the documentation
to mention columns in a non-partial unique index can be mentioned too.

The header comment for transformFkeyCheckAttrs() also didn't mention
unique indexes, so fix that too.  In passing make that header comment
reflect reality in the various other aspects where it deviated from it.

Bug: 18295
Reported-by: Gilles PARC
Author: Laurenz Albe, David Rowley
Discussion: https://www.postgresql.org/message-id/18295-0ed0fac5c9f7b17b%40postgresql.org
Backpatch-through: 12
2024-01-30 10:15:17 +13:00
..
backend Doc: mention foreign keys can reference unique indexes 2024-01-30 10:15:17 +13:00
bin Temporary patch to help debug pg_walsummary test failures. 2024-01-26 13:25:19 -05:00
common Move is_valid_ascii() to ascii.h. 2024-01-29 12:08:57 -06:00
fe_utils Update copyright for 2024 2024-01-03 20:49:05 -05:00
include Move is_valid_ascii() to ascii.h. 2024-01-29 12:08:57 -06:00
interfaces libpq: Move cancellation related functions to fe-cancel.c 2024-01-29 12:39:59 +01:00
makefiles Add backend support for injection points 2024-01-22 10:15:50 +09:00
pl Fix plpgsql to allow new-style SQL CREATE FUNCTION as a SQL command. 2024-01-18 16:11:16 -05:00
port Update copyright for 2024 2024-01-03 20:49:05 -05:00
template
test Add EXPLAIN (MEMORY) to report planner memory consumption 2024-01-29 17:53:03 +01:00
timezone Update copyright for 2024 2024-01-03 20:49:05 -05:00
tools Allow setting failover property in the replication command. 2024-01-29 09:37:23 +05:30
tutorial Update copyright for 2024 2024-01-03 20:49:05 -05:00
.gitignore
DEVELOPERS
Makefile Remove distprep 2023-11-06 15:18:04 +01:00
Makefile.global.in Remove make function vpathsearch 2024-01-29 07:24:59 +01:00
Makefile.shlib Support shared libraries on Android (using make) 2024-01-23 20:37:49 +01:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls-global.mk Remove distprep 2023-11-06 15:18:04 +01:00