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

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Create new errcode for recovery conflict caused by db drop on ma
Date: 2011-02-01 00:21:32
Message-ID: E1Pk3zw-0004jg-UA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-02-01 01:16:18 pgsql: Fix pg_upgrade to create pg_authid restore functions in the 'pos
Previous Message Heikki Linnakangas 2011-01-31 20:52:54 Re: pgsql: Support multiple concurrent pg_basebackup backups.