pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Improve two error messages related to foreign keys on partitione
2+ messages / 1 participants
[nested] [flat]

* pgsql: Improve two error messages related to foreign keys on partitione
@ 2018-10-08 09:02 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2018-10-08 09:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Improve two error messages related to foreign keys on partitione
@ 2018-10-08 09:02 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2018-10-08 09:02 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c8ed820c68bcad00d07d60e436cdddb7c0edf44d

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(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2018-10-08 09:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-10-08 09:02 pgsql: Improve two error messages related to foreign keys on partitione Michael Paquier <michael@paquier.xyz>
2018-10-08 09:02 pgsql: Improve two error messages related to foreign keys on partitione Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox