[prev in list] [next in list] [prev in thread] [next in thread]
List: slony1-commit
Subject: [Slony1-commit] By cbbrowne: Initialize vacuum_action in cleanup
From: cvsuser () gborg ! postgresql ! org (CVS User Account)
Date: 2006-08-04 20:48:23
Message-ID: 20060804204824.0F89211BF027 () gborg ! postgresql ! org
[Download RAW message or body]
Log Message:
-----------
Initialize vacuum_action in cleanup thread; resolving -Wall messages
Modified Files:
--------------
slony1-engine/src/slon:
cleanup_thread.c (r1.32 -> r1.33)
-------------- next part --------------
Index: cleanup_thread.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/cleanup_thread.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -Lsrc/slon/cleanup_thread.c -Lsrc/slon/cleanup_thread.c -u -w -r1.32 -r1.33
--- src/slon/cleanup_thread.c
+++ src/slon/cleanup_thread.c
@@ -272,10 +272,10 @@
dstring_reset(&query3);
}
latest_xid = get_earliest_xid(dbconn);
+ vacuum_action = "";
if (earliest_xid == latest_xid)
{
- vacuum_action = "";
slon_log(SLON_DEBUG4,
"cleanupThread: xid %d still active - analyze instead\n",
earliest_xid);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic