Create new errcode for recovery conflict caused by db drop on master.
Simon Riggs <simon@2ndQuadrant.com>
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
| Path | Change | +/− |
|---|---|---|
| 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 |