Add missing errcode() in a few ereport calls.

Amit Kapila <akapila@postgresql.org>

Commit: 569f9354bb438520296790aee27960634e3465f8
Author: Amit Kapila <akapila@postgresql.org>
Date: 2020-03-18T04:16:52Z
Releases: 10.13
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

Files

PathChange+/−
contrib/adminpack/adminpack.c modified +3 −3
src/backend/storage/page/bufpage.c modified +1 −1

Discussion