Обсуждение: pgsql: Add missing errcode() in a few ereport calls.

Поиск
Список
Период
Сортировка

pgsql: Add missing errcode() in a few ereport calls.

От
Amit Kapila
Дата:
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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b4f140869f5da081c27c344587b0ff1a02821776

Modified Files
--------------
contrib/adminpack/adminpack.c      | 6 +++---
src/backend/storage/page/bufpage.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)