Commit 5cbf6dce authored by Simon Riggs's avatar Simon Riggs

Fix typo bug in Hot Standby from recent refactoring. Bug introduced

into code recently patched by Andres Freund, so quickly fixed by him
when bug report from Tatsuo Ishii arrived.
parent 5209c084
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.10 2010/02/02 22:01:53 tgl Exp $ * $PostgreSQL: pgsql/src/backend/storage/ipc/standby.c,v 1.11 2010/02/11 19:35:22 sriggs Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -290,7 +290,7 @@ ResolveRecoveryConflictWithDatabase(Oid dbid) ...@@ -290,7 +290,7 @@ ResolveRecoveryConflictWithDatabase(Oid dbid)
*/ */
while (CountDBBackends(dbid) > 0) while (CountDBBackends(dbid) > 0)
{ {
CancelDBBackends(dbid, PROCSIG_RECOVERY_CONFLICT_TABLESPACE, true); CancelDBBackends(dbid, PROCSIG_RECOVERY_CONFLICT_DATABASE, true);
/* /*
* Wait awhile for them to die so that we avoid flooding an * Wait awhile for them to die so that we avoid flooding an
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment