pgsql: Add object names to partition integrity violations. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Add object names to partition integrity violations.
Date
Msg-id E1jGD7u-0003h3-Ed@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add object names to partition integrity violations.

All errors of SQLSTATE class 23 should include the name of an object
associated with the error in separate fields of the error report message.
We do this so that applications need not try to extract them from the
possibly-localized human-readable text of the message.

Reported-by: Chris Bandy
Author: Chris Bandy
Reviewed-by: Amit Kapila and Amit Langote
Discussion: https://postgr.es/m/0aa113a3-3c7f-db48-bcd8-f9290b2269ae@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/33753ac9d7bc83dd9ccee9d5e678ed78a0725b4e

Modified Files
--------------
src/backend/commands/tablecmds.c      | 6 ++++--
src/backend/executor/execMain.c       | 3 ++-
src/backend/executor/execPartition.c  | 3 ++-
src/backend/partitioning/partbounds.c | 3 ++-
src/backend/utils/adt/ri_triggers.c   | 3 ++-
5 files changed, 12 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add bound checks for ssl_min_protocol_version and ssl_max_protoc
Next
From: Michael Paquier
Date:
Subject: pgsql: Doc: Fix type of some storage parameters in CREATE TABLE page