Chris Browne cbbrowne at lists.slony.info
Thu Nov 22 14:51:06 PST 2007
Update of /home/cvsd/slony1/slony1-engine/config
In directory main.slony.info:/tmp/cvs-serv26068/config

Modified Files:
      Tag: REL_1_2_STABLE
	acx_libpq.m4 
Log Message:
Bug #16 - Change in function typenameTypeId() in PG 8.3 to have 3 args
http://www.slony.info/bugzilla/show_bug.cgi?id=16

Patch provided by Dave Page - thanks!



Index: acx_libpq.m4
===================================================================
RCS file: /home/cvsd/slony1/slony1-engine/config/acx_libpq.m4,v
retrieving revision 1.24.2.3
retrieving revision 1.24.2.4
diff -C2 -d -r1.24.2.3 -r1.24.2.4
*** acx_libpq.m4	29 Nov 2006 18:52:14 -0000	1.24.2.3
--- acx_libpq.m4	22 Nov 2007 22:51:04 -0000	1.24.2.4
***************
*** 352,356 ****
  fi
  
! 
  AC_MSG_CHECKING(for typenameTypeId)
  if test -z "$ac_cv_typenameTypeId_args"; then
--- 352,363 ----
  fi
  
! AC_MSG_CHECKING(for typenameTypeId)
! if test -z "$ac_cv_typenameTypeId_args"; then
!   AC_TRY_COMPILE(
!     [#include "postgres.h"
!      #include "parser/parse_type.h"],
!     [typenameTypeId(NULL, NULL, NULL); ],
!     ac_cv_typenameTypeId_args=3)
! fi
  AC_MSG_CHECKING(for typenameTypeId)
  if test -z "$ac_cv_typenameTypeId_args"; then
***************
*** 371,375 ****
    AC_MSG_RESULT(no)
  else
!   if test "$ac_cv_typenameTypeId_args" = 2; then
      AC_DEFINE(HAVE_TYPENAMETYPEID_2)
    elif test "$ac_cv_typenameTypeId_args" = 1; then
--- 378,384 ----
    AC_MSG_RESULT(no)
  else
!   if test "$ac_cv_typenameTypeId_args" = 3; then
!     AC_DEFINE(HAVE_TYPENAMETYPEID_3)
!   elif test "$ac_cv_typenameTypeId_args" = 2; then
      AC_DEFINE(HAVE_TYPENAMETYPEID_2)
    elif test "$ac_cv_typenameTypeId_args" = 1; then



More information about the Slony1-commit mailing list