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

Modified Files:
      Tag: REL_1_2_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.124.2.39
retrieving revision 1.124.2.40
diff -C2 -d -r1.124.2.39 -r1.124.2.40
*** remote_worker.c	23 Oct 2009 21:21:13 -0000	1.124.2.39
--- remote_worker.c	9 Dec 2009 20:49:20 -0000	1.124.2.40
***************
*** 5893,5897 ****
  {
  	int			state;
! 	long long			curr_number,
  				curr_min,
  				curr_max;
--- 5893,5897 ----
  {
  	int			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.33.2.6
retrieving revision 1.33.2.7
diff -C2 -d -r1.33.2.6 -r1.33.2.7
*** cleanup_thread.c	17 Aug 2009 17:39:57 -0000	1.33.2.6
--- cleanup_thread.c	9 Dec 2009 20:49:20 -0000	1.33.2.7
***************
*** 415,419 ****
  get_earliest_xid(PGconn *dbconn)
  {
! 	long long	xid;
  	PGresult   *res;
  	SlonDString query1;
--- 415,419 ----
  get_earliest_xid(PGconn *dbconn)
  {
! 	int64	xid;
  	PGresult   *res;
  	SlonDString query1;



More information about the Slony1-commit mailing list