pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Amit Kapila <akapila@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add object names to partition integrity violations.
Date: Mon, 23 Mar 2020 02:47:42 +0000
Message-ID: <E1jGD7u-0003h3-Ed@gemulon.postgresql.org> (raw)

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



Message-ID: <E1jGD7u-0003h3-Ed@gemulon.postgresql.org>
Permalink:  ../E1jGD7u-0003h3-Ed@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jGD7u-0003h3-Ed@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akapila@postgresql.org
  Subject: Re: pgsql: Add object names to partition integrity violations.
  In-Reply-To: <E1jGD7u-0003h3-Ed@gemulon.postgresql.org>
  References: <E1jGD7u-0003h3-Ed@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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