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

Modified Files:
	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.182
retrieving revision 1.183
diff -C2 -d -r1.182 -r1.183
*** remote_worker.c	23 Oct 2009 21:18:21 -0000	1.182
--- remote_worker.c	9 Dec 2009 20:50:25 -0000	1.183
***************
*** 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.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** cleanup_thread.c	17 Aug 2009 17:25:50 -0000	1.48
--- cleanup_thread.c	9 Dec 2009 20:50:25 -0000	1.49
***************
*** 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