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

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

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

-------------- next part --------------
Index: remote_worker.c
===================================================================
RCS file: /usr/local/cvsroot/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -Lsrc/slon/remote_worker.c -Lsrc/slon/remote_worker.c -u -w -r1.88 -r1.89
--- src/slon/remote_worker.c
+++ src/slon/remote_worker.c
@@ -2214,7 +2214,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