Обсуждение: pgsql: Create new errcode for recovery conflict caused by db drop on ma

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

pgsql: Create new errcode for recovery conflict caused by db drop on ma

От
Simon Riggs
Дата:
Create new errcode for recovery conflict caused by db drop on master.
Previously reported as ERRCODE_ADMIN_SHUTDOWN, this case is now
reported as ERRCODE_T_R_DATABASE_DROPPED. No message text change.
Unlikely to happen on most servers, so low impact change to allow
session poolers to correctly handle this situation.

Tatsuo Ishii, edits by me, review by Robert Haas

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=9e95c9ad558bafa26efbab50f77929de4ade5f90

Modified Files
--------------
doc/src/sgml/errcodes.sgml      |    5 +++++
src/backend/tcop/postgres.c     |    4 +++-
src/include/utils/errcodes.h    |    1 +
src/pl/plpgsql/src/plerrcodes.h |    4 ++++
4 files changed, 13 insertions(+), 1 deletions(-)