On Tue, 2 Nov 2004, Bruce Momjian wrote:
> I think you forgot to attach the patch.
>
Here you go.
Kris Jurka
Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pgsql/configure.in,v
retrieving revision 1.383
diff -c -r1.383 configure.in
*** configure.in 25 Oct 2004 00:11:04 -0000 1.383
--- configure.in 2 Nov 2004 04:36:22 -0000
***************
*** 1009,1021 ****
])
fi
- AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for
--enable-thread-safety])])
-
# Check for *_r functions
_CFLAGS="$CFLAGS"
_LIBS="$LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LIBS="$LIBS $PTHREAD_LIBS"
AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r])
# Do test here with the proper thread flags
--- 1009,1022 ----
])
fi
# Check for *_r functions
_CFLAGS="$CFLAGS"
_LIBS="$LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LIBS="$LIBS $PTHREAD_LIBS"
+
+ AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for
--enable-thread-safety])])
+
AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r])
# Do test here with the proper thread flags
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match