Create new errcode for recovery conflict caused by db drop on master.

Simon Riggs <simon@2ndQuadrant.com>

Commit: d6c1dc176a422ed19d698bb8ff9ed7b38c04a320
Author: Simon Riggs <simon@2ndQuadrant.com>
Date: 2011-02-01T08:49:58Z
Releases: 9.0.4
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_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

Files

PathChange+/−
doc/src/sgml/errcodes.sgml modified +6 −0
src/backend/tcop/postgres.c modified +1 −1
src/include/utils/errcodes.h modified +1 −0
src/pl/plpgsql/src/plerrcodes.h modified +4 −0