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