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 missing errcode() in a few ereport calls.
Date: Wed, 18 Mar 2020 04:54:14 +0000
Message-ID: <E1jEQic-0004L5-7D@gemulon.postgresql.org> (raw)

Add missing errcode() in a few ereport calls.

This will allow to specifying SQLSTATE error code for the errors in the
missing places.

Reported-by: Sawada Masahiko
Author: Sawada Masahiko
Backpatch-through: 9.5
Discussion: https://postgr.es/m/CA+fd4k6N8EjNvZpM8nme+y+05mz-SM8Z_BgkixzkA34R+ej0Kw@mail.gmail.com

Branch
------
master

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

Modified Files
--------------
contrib/adminpack/adminpack.c      | 6 +++---
src/backend/storage/page/bufpage.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1jEQic-0004L5-7D@gemulon.postgresql.org>
Permalink:  ../E1jEQic-0004L5-7D@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jEQic-0004L5-7D@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 missing errcode() in a few ereport calls.
  In-Reply-To: <E1jEQic-0004L5-7D@gemulon.postgresql.org>
  References: <E1jEQic-0004L5-7D@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