Add missing errcode() in a few ereport calls.
authorAmit Kapila <[email protected]>
Wed, 18 Mar 2020 04:16:52 +0000 (09:46 +0530)
committerAmit Kapila <[email protected]>
Wed, 18 Mar 2020 04:16:52 +0000 (09:46 +0530)
commit569f9354bb438520296790aee27960634e3465f8
tree09df5ef47c38855d50cc7edaf3c9eb3d3cc0e50b
parent3c871d1ead20e6744403e2180d704dd09fd8c2d6
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
contrib/adminpack/adminpack.c
src/backend/storage/page/bufpage.c