CVS User Account cvsuser
Mon May 16 23:04:55 PDT 2005
Log Message:
-----------
Fix for bug #1302

Off-by-one error in cleanup thread led to the vacuum loop vacuuming the entire database.

Modified Files:
--------------
    slony1-engine/src/slon:
        cleanup_thread.c (r1.24 -> r1.25)

-------------- next part --------------
Index: cleanup_thread.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/cleanup_thread.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -Lsrc/slon/cleanup_thread.c -Lsrc/slon/cleanup_thread.c -u -w -r1.24 -r1.25
--- src/slon/cleanup_thread.c
+++ src/slon/cleanup_thread.c
@@ -44,9 +44,12 @@
 			      "%s.sl_log_2",
 			      "%s.sl_seqlog",
 			      "pg_catalog.pg_listener",
-                              "pg_catalog.pg_statistic"};
+                              "pg_catalog.pg_statistic",
+			      "pg_catalog.pg_listener",
+			      "pg_catalog.pg_listener"			      
+};
 
-#define MAX_VAC_TABLE 9           /* Add to this if additional tables are added above */
+#define MAX_VAC_TABLE 8           /* Add to this if additional tables are added above */
 
 static char tstring[255];         /* string used to store table names for the VACUUM statements */
 


More information about the Slony1-commit mailing list