1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Re-classify ERRCODE_DATABASE_DROPPED to 57P04

This commit is contained in:
Simon Riggs
2011-02-01 08:44:01 +00:00
parent 0c707aa458
commit 56b21b7ae3
4 changed files with 12 additions and 11 deletions

View File

@ -2916,7 +2916,7 @@ ProcessInterrupts(void)
Assert(RecoveryConflictReason == PROCSIG_RECOVERY_CONFLICT_DATABASE);
pgstat_report_recovery_conflict(RecoveryConflictReason);
ereport(FATAL,
(errcode(ERRCODE_T_R_DATABASE_DROPPED),
(errcode(ERRCODE_DATABASE_DROPPED),
errmsg("terminating connection due to conflict with recovery"),
errdetail_recovery_conflict()));
}