From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Improve two error messages related to foreign keys on partitione |
Date: | 2018-10-08 09:02:39 |
Message-ID: | E1g9RR1-0004Gl-Fl@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Improve two error messages related to foreign keys on partitioned tables
Error messages for creating a foreign key on a partitioned table using
ONLY or NOT VALID were wrong in mentioning the objects they worked on.
This commit adds on the way some regression tests missing for those
cases.
Author: Laurenz Albe
Reviewed-by: Michael Paquier
Discussion: https://postgr.es/m/c11c05810a9ed65e9b2c817a9ef442275a32fe80.camel@cybertec.at
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/9c2a970d1fa4d30dc41d30d0b2ad557f40510549
Modified Files
--------------
src/backend/commands/tablecmds.c | 6 ++++--
src/test/regress/expected/foreign_key.out | 11 +++++++++++
src/test/regress/sql/foreign_key.sql | 9 +++++++++
3 files changed, 24 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2018-10-08 09:12:58 | Re: pgsql: Fix event triggers for partitioned tables |
Previous Message | Magnus Hagander | 2018-10-08 07:05:37 | pgsql: Fix speling error |