From: Simon Riggs Date: Thu, 11 Feb 2010 19:35:22 +0000 (+0000) Subject: Fix typo bug in Hot Standby from recent refactoring. Bug introduced X-Git-Tag: REL9_0_ALPHA4~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5cbf6dceea1af73b8a8b50f2628b278ff4f31c9e;p=postgresql 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. --- diff --git a/src/backend/storage/ipc/standby.c b/src/backend/storage/ipc/standby.c index 633f36f998..3b3534886c 100644 --- a/src/backend/storage/ipc/standby.c +++ b/src/backend/storage/ipc/standby.c @@ -11,7 +11,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * * 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) */ 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