Wed Feb 13 15:02:42 PST 2008
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine/src/slonik slonik.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv26228/slon
Modified Files:
cleanup_thread.c
Log Message:
Replace some lingering references to old xxid functions to use the new
8.3 built-ins.
Index: cleanup_thread.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/cleanup_thread.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -C2 -d -r1.41 -r1.42
*** cleanup_thread.c 2 Jan 2008 19:00:27 -0000 1.41
--- cleanup_thread.c 13 Feb 2008 23:02:40 -0000 1.42
***************
*** 270,278 ****
dstring_init(&query);
! (void) slon_mkquery(&query, "select %s.getMinXid();", rtcfg_namespace);
res = PQexec(dbconn, dstring_data(&query));
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
! slon_log(SLON_FATAL, "cleanupThread: could not getMinXid()!\n");
PQclear(res);
slon_retry();
--- 270,278 ----
dstring_init(&query);
! (void) slon_mkquery(&query, "select pg_catalog.txid_snapshot_xmin(pg_catalog.txid_current_snapshot());");
res = PQexec(dbconn, dstring_data(&query));
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
! slon_log(SLON_FATAL, "cleanupThread: could not txid_snapshot_xmin()!\n");
PQclear(res);
slon_retry();
- Previous message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.sql
- Next message: [Slony1-commit] slony1-engine/src/slonik slonik.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list