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