pgsql: Clarify a foreign key error message - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Clarify a foreign key error message
Date
Msg-id E1t8zdh-000c9D-UB@gemulon.postgresql.org
Whole thread Raw
List 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.universality@gmail.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(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Remove an obsolete comment in gistinsert()
Next
From: Álvaro Herrera
Date:
Subject: pgsql: doc: Reword ALTER TABLE ATTACH restriction on NO INHERIT constra