summaryrefslogtreecommitdiff
path: root/src/backend/optimizer/util/pathnode.c
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2024-01-30 10:16:42 +1300
committerDavid Rowley <drowley@postgresql.org>2024-01-30 10:16:42 +1300
commit973e14028e85364d81c78270ff00440e21e281fd (patch)
tree30910d60220e15d29a586dd39da29fcd5d9af229 /src/backend/optimizer/util/pathnode.c
parent29e25a6b1eb1b77ecfdbcb5b8dc07c8a6cdcf089 (diff)
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/backend/optimizer/util/pathnode.c')
0 files changed, 0 insertions, 0 deletions