Wed Sep 24 12:54:11 PDT 2008
- Previous message: [Slony1-commit] slony1-engine config.h.in
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Update of /home/cvsd/slony1/slony1-engine/config In directory main.slony.info:/tmp/cvs-serv28834/config Modified Files: acx_libpq.m4 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: acx_libpq.m4 =================================================================== RCS file: /home/cvsd/slony1/slony1-engine/config/acx_libpq.m4,v retrieving revision 1.29 retrieving revision 1.30 diff -C2 -d -r1.29 -r1.30 *** acx_libpq.m4 25 Feb 2008 15:40:07 -0000 1.29 --- acx_libpq.m4 24 Sep 2008 19:54:09 -0000 1.30 *************** *** 390,393 **** --- 390,401 ---- fi + AC_MSG_CHECKING(for GetActiveSnapshot) + AC_EGREP_HEADER(GetActiveSnapshot, + utils/snapmgr.h, + [AC_MSG_RESULT(yes) + AC_DEFINE(HAVE_GETACTIVESNAPSHOT)], + AC_MSG_RESULT(no) + ) + AC_MSG_CHECKING(for standard_conforming_strings) if test -z "$ac_cv_standard_conforming_strings"; then *************** *** 400,403 **** --- 408,412 ---- fi + AC_CHECK_DECLS([GetTopTransactionId],[],[],[ #include "postgres.h" *************** *** 409,410 **** --- 418,420 ---- AC_LANG_RESTORE ])dnl ACX_LIBPQ +
- Previous message: [Slony1-commit] slony1-engine config.h.in
- Next message: [Slony1-commit] slony1-engine/src/backend slony1_funcs.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Slony1-commit mailing list