pgsql: Add missing errcode() in a few ereport calls. - Mailing list pgsql-committers

From Amit Kapila
Subject pgsql: Add missing errcode() in a few ereport calls.
Date
Msg-id E1jEQic-0004L6-7b@gemulon.postgresql.org
Whole thread Raw
List 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
------
REL_12_STABLE

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

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


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Fix typo in indexcmds.c
Next
From: Fujii Masao
Date:
Subject: pgsql: Update the description of type of check_option reloption in docs