mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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
This commit is contained in:
@ -985,6 +985,11 @@
|
||||
<entry>deadlock_detected</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>40P02</literal></entry>
|
||||
<entry>DATABASE DROPPED</entry>
|
||||
<entry>database_dropped</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry spanname="span13"><emphasis role="bold">Class 42 — Syntax Error or Access Rule Violation</></entry>
|
||||
|
Reference in New Issue
Block a user