]> granicus.if.org Git - postgresql/commitdiff
Fix typo bug in Hot Standby from recent refactoring. Bug introduced
authorSimon Riggs <simon@2ndQuadrant.com>
Thu, 11 Feb 2010 19:35:22 +0000 (19:35 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Thu, 11 Feb 2010 19:35:22 +0000 (19:35 +0000)
into code recently patched by Andres Freund, so quickly fixed by him
when bug report from Tatsuo Ishii arrived.

src/backend/storage/ipc/standby.c

index 633f36f998ddeb5bff3f1758a0f174aa21224e8d..3b3534886c990445ef616cded4405f10d56190bf 100644 (file)
@@ -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