OSDN Git Service

Create new errcode for recovery conflict caused by db drop on master.
authorSimon Riggs <simon@2ndQuadrant.com>
Tue, 1 Feb 2011 08:49:58 +0000 (08:49 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Tue, 1 Feb 2011 08:49:58 +0000 (08:49 +0000)
commitd6c1dc176a422ed19d698bb8ff9ed7b38c04a320
tree938726c58ef089e8dd55fade1d6fcd81406fc770
parent9a012852897fec73ed1459486d6e8426c674d9ad
Create new errcode for recovery conflict caused by db drop on 
Previously reported as ERRCODE_ADMIN_SHUTDOWN, this case is now
reported as ERRCODE_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 and Simon Riggs
doc/src/sgml/errcodes.sgml
src/backend/tcop/postgres.c
src/include/utils/errcodes.h
src/pl/plpgsql/src/plerrcodes.h