Chris Browne cbbrowne at lists.slony.info
Wed Sep 24 12:54:11 PDT 2008
Update of /home/cvsd/slony1/slony1-engine
In directory main.slony.info:/tmp/cvs-serv28834

Modified Files:
	config.h.in 
Log Message:
Resolution to bug #46 - incompatibility with PG 8.4.

- Set up autoconf to detect whether or not GetActiveSnapshot() is
  available, and set up #define if it is

- Then config.h.in needs the #define variable, and slony1_funcs.c
  refers to it to control whether it uses the old variable or the
  new function.


Index: config.h.in
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/config.h.in,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** config.h.in	29 Jan 2008 15:54:46 -0000	1.20
--- config.h.in	24 Sep 2008 19:54:09 -0000	1.21
***************
*** 100,103 ****
--- 100,105 ----
  #endif
  
+ /* For PostgreSQL 8.4 and up we need to use GetActiveSnapshot() */
+ #undef HAVE_GETACTIVESNAPSHOT
  
  /* Set to 1 if we have POSIX signals */



More information about the Slony1-commit mailing list