Chris Browne cbbrowne at lists.slony.info
Wed Dec 9 12:50:09 PST 2009
Update of /home/cvsd/slony1/slony1-engine/src/slon
In directory main.slony.info:/tmp/cvs-serv18891/slon

Modified Files:
      Tag: REL_2_0_STABLE
	cleanup_thread.c remote_worker.c 
Log Message:
Use int64 rather than long long; that's what PG uses for xids...


Index: remote_worker.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/remote_worker.c,v
retrieving revision 1.176.2.6
retrieving revision 1.176.2.7
diff -C2 -d -r1.176.2.6 -r1.176.2.7
*** remote_worker.c	23 Oct 2009 21:18:52 -0000	1.176.2.6
--- remote_worker.c	9 Dec 2009 20:50:07 -0000	1.176.2.7
***************
*** 5555,5559 ****
  {
  	CompressState			state;
! 	long long			curr_number,
  				curr_min,
  				curr_max;
--- 5555,5559 ----
  {
  	CompressState			state;
! 	int64			curr_number,
  				curr_min,
  				curr_max;

Index: cleanup_thread.c
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/src/slon/cleanup_thread.c,v
retrieving revision 1.45.2.2
retrieving revision 1.45.2.3
diff -C2 -d -r1.45.2.2 -r1.45.2.3
*** cleanup_thread.c	17 Aug 2009 17:09:58 -0000	1.45.2.2
--- cleanup_thread.c	9 Dec 2009 20:50:07 -0000	1.45.2.3
***************
*** 265,269 ****
  get_earliest_xid(PGconn *dbconn)
  {
! 	long long	xid;
  	PGresult   *res;
  	SlonDString query;
--- 265,269 ----
  get_earliest_xid(PGconn *dbconn)
  {
! 	int64	xid;
  	PGresult   *res;
  	SlonDString query;



More information about the Slony1-commit mailing list