Jan Wieck wieck at lists.slony.info
Thu Jul 23 11:30:06 PDT 2009
Update of /home/cvsd/slony1/slony1-engine
In directory main.slony.info:/tmp/cvs-serv10904

Modified Files:
      Tag: REL_1_2_STABLE
	config.h.in configure 
Log Message:
Changes to make 1.2 compile (and work) with PostgreSQL 8.4.

8.4 also breaks the ducttape tests, which use pgbench as a test
application. 8.4's pgbench prefixes all tables with pgbench_.
For now we can use 8.3's pgbench.


Jan


Index: config.h.in
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/config.h.in,v
retrieving revision 1.17.2.17
retrieving revision 1.17.2.18
diff -C2 -d -r1.17.2.17 -r1.17.2.18
*** config.h.in	20 Jul 2009 16:47:22 -0000	1.17.2.17
--- config.h.in	23 Jul 2009 18:30:04 -0000	1.17.2.18
***************
*** 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 */

Index: configure
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/configure,v
retrieving revision 1.70.2.10
retrieving revision 1.70.2.11
diff -C2 -d -r1.70.2.10 -r1.70.2.11
*** configure	30 Apr 2009 16:19:31 -0000	1.70.2.10
--- configure	23 Jul 2009 18:30:04 -0000	1.70.2.11
***************
*** 1,5 ****
  #! /bin/sh
  # Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.63 for postgresql-slony1 1.2.STABLE.
  #
  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
--- 1,5 ----
  #! /bin/sh
  # Guess values for system-dependent variables and create Makefiles.
! # Generated by GNU Autoconf 2.62 for postgresql-slony1 1.2.STABLE.
  #
[...1352 lines suppressed...]
    :[FHL]*:*);;
!   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
! $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
     { (exit 1); exit 1; }; };;
    :[FH]-) ac_tag=-:-;;
***************
*** 12402,12407 ****
  fi
  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
!   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
! $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  fi
  
--- 12378,12383 ----
  fi
  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
!   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
! $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
  fi
  



More information about the Slony1-commit mailing list