aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2024-01-30 10:17:31 +1300
committerDavid Rowley <drowley@postgresql.org>2024-01-30 10:17:31 +1300
commitdff1756c392ec7e3ac9b0b4bb2112a594765902a (patch)
tree205c7de87a00cf6a4a3bd2c8200b1f08f6f58c47 /src/tutorial/basics.source
parentb2fd1dab90240ebb9017cd2fddd731c3641ba434 (diff)
downloadpostgresql-dff1756c392ec7e3ac9b0b4bb2112a594765902a.tar.gz
postgresql-dff1756c392ec7e3ac9b0b4bb2112a594765902a.zip
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
Diffstat (limited to 'src/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions