pgsql: Add missing errcode() in a few ereport calls.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing errcode() in a few ereport calls.
Date: 2020-03-18 04:54:14
Message-ID: E1jEQic-0004LI-9G@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Details
-------
https://git.postgresql.org/pg/commitdiff/6bdfe428d3994bfaed814e818fe93ad9635a31d6

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

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2020-03-18 09:29:27 pgsql: Update the description of type of check_option reloption in docs
Previous Message Michael Paquier 2020-03-18 02:16:39 pgsql: Fix typo in indexcmds.c