]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add missing errcode() in a few ereport calls.
authorAmit Kapila <akapila@postgresql.org>
Wed, 18 Mar 2020 04:38:56 +0000 (10:08 +0530)
committerAmit Kapila <akapila@postgresql.org>
Wed, 18 Mar 2020 04:38:56 +0000 (10:08 +0530)
commitfe27ce1c136d191b46717fda55b267a2d26f806c
tree42ba681166c163f4703625fffb94c020480c1a5f
parent9a9b87191a32fb97dbd9cad6d9a8a43a9fc31c16
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