CVS User Account cvsuser
Mon Sep 26 18:28:11 PDT 2005
Log Message:
-----------
Store now() in sl_confirm rather than CURRENT_TIMESTAMP.

now() is "timezone-safe" whereas CURRENT_TIMESTAMP is not.

Tags:
----
REL_1_1_STABLE

Modified Files:
--------------
    slony1-engine/src/slon:
        remote_worker.c (r1.86 -> r1.86.2.1)

-------------- next part --------------
Index: remote_worker.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.86
retrieving revision 1.86.2.1
diff -Lsrc/slon/remote_worker.c -Lsrc/slon/remote_worker.c -u -w -r1.86 -r1.86.2.1
--- src/slon/remote_worker.c
+++ src/slon/remote_worker.c
@@ -2028,7 +2028,7 @@
 					 "); "
 					 "insert into %s.sl_confirm "
 					 "	(con_origin, con_received, con_seqno, con_timestamp) "
-					 "   values (%d, %d, '%s', CURRENT_TIMESTAMP); ",
+					 "   values (%d, %d, '%s', now()); ",
 					 rtcfg_namespace,
 					 event->ev_origin, rtcfg_nodeid, seqbuf);
 }


More information about the Slony1-commit mailing list