pgsql: Doc: mention foreign keys can reference unique indexes
В списке pgsql-committers по дате отправления:
| От | David Rowley |
|---|---|
| Тема | pgsql: Doc: mention foreign keys can reference unique indexes |
| Дата | |
| Msg-id | E1rUZ0P-003jvy-1y@gemulon.postgresql.org обсуждение |
| Список | pgsql-committers |
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 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/eda1d0dfe681e9b87c06157e2b0b6864344944f1 Modified Files -------------- doc/src/sgml/ddl.sgml | 20 ++++++++++---------- doc/src/sgml/ref/create_table.sgml | 19 +++++++++++++++---- src/backend/commands/tablecmds.c | 14 +++++++++----- 3 files changed, 34 insertions(+), 19 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера