mirror of
https://github.com/postgres/postgres.git
synced 2025-07-20 05:03:10 +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_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
This commit is contained in:
@ -1369,6 +1369,12 @@
|
||||
<entry>cannot_connect_now</entry>
|
||||
</row>
|
||||
|
||||
<row>
|
||||
<entry><literal>57P04</literal></entry>
|
||||
<entry>DATABASE DROPPED</entry>
|
||||
<entry>database_dropped</entry>
|
||||
</row>
|
||||
|
||||
|
||||
<row>
|
||||
<entry spanname="span13"><emphasis role="bold">Class 58 — System Error (errors external to <productname>PostgreSQL</> itself)</></entry>
|
||||
|
Reference in New Issue
Block a user