From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Clarify a foreign key error message |
Date: | 2024-11-07 10:21:22 |
Message-ID: | E1t8zdh-000c9D-UB@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Clarify a foreign key error message
Clarify the message about type mismatch in foreign key definition to
indicate which column the referencing and which is the referenced one.
Reported-by: Jian He <jian(dot)universality(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/CACJufxEL82ao-aXOa=d_-Xip0bix-qdSyNc9fcWxOdkEZFko8w@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d7a2b5bd8718a6207fb364318d7f7cccdf6219c3
Modified Files
--------------
src/backend/commands/tablecmds.c | 2 +-
src/test/regress/expected/alter_table.out | 16 ++++----
src/test/regress/expected/enum.out | 2 +-
src/test/regress/expected/foreign_key.out | 52 +++++++++++++-------------
src/test/regress/expected/without_overlaps.out | 6 +--
5 files changed, 39 insertions(+), 39 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Álvaro Herrera | 2024-11-07 13:08:26 | pgsql: doc: Reword ALTER TABLE ATTACH restriction on NO INHERIT constra |
Previous Message | Michael Paquier | 2024-11-07 06:20:10 | pgsql: Remove an obsolete comment in gistinsert() |