]> granicus.if.org Git - postgresql/blobdiff - src/include/config.h.in
From: Dan McGuirk <mcguirk@indirect.com>
[postgresql] / src / include / config.h.in
index e5157ce7b90d000b512e278dcaf920602cbfff5c..99973dde07f7d38dec03d3d4e02a18ffcbf984de 100644 (file)
@@ -32,6 +32,9 @@
 /* Set to 1 if you have <history.h> */
 #undef HAVE_HISTORY
 
+/* Set to 1 if you have <dld.h> */
+#undef HAVE_DLD_H
+
 /* Set to 1 if you have isinf() */
 #undef HAVE_ISINF
 
 /* Set to 1 if you have kill() */
 #undef HAVE_KILL
 
+/* Set to 1 if you have vfork() */
+#undef HAVE_VFORK
+
 /* Set to 1 if you have sysconf() */
 #undef HAVE_SYSCONF
 
 /* Set to 1 if you have getrusage() */
 #undef HAVE_GETRUSAGE
 
+/* Set to 1 if you have waitpid() */
+#undef HAVE_WAITPID
+
+/* Set to 1 if you have setsid() */
+#undef HAVE_SETSID
+
+/* Set to 1 if you have sigprocmask() */
+#undef HAVE_SIGPROCMASK
+
+/* Set to 1 if you have strdup() */
+#undef HAVE_STRDUP
+
 /* Set to 1 if you have libreadline.a */
 #undef HAVE_LIBREADLINE
 
  * Code below this point should not require changes
  */
 
-#if defined(aix)
-#  define CLASS_CONFLICT 
-#  define DISABLE_XOPEN_NLS 
-#  define HAVE_SYS_SELECT_H
-#  define HAVE_ANSI_CPP
-#  define HAS_TEST_AND_SET
-   typedef unsigned int slock_t;
-#endif
-
-#if defined(alpha)
-#  define USE_POSIX_TIME 
-#  define USE_POSIX_SIGNALS
-#  define DISABLE_XOPEN_NLS 
-#  define HAS_LONG_LONG
-#  define HAS_TEST_AND_SET
-#  include <sys/mman.h>  /* for msemaphore */
-   typedef msemaphore slock_t;
-#endif
-
-#if defined(BSD44_derived)
-#  define USE_POSIX_TIME
-#  define NEED_I386_TAS_ASM
-#  define HAS_TEST_AND_SET
-#  if defined(__mips__)
-/* #    undef HAS_TEST_AND_SET */
-#  endif
-   typedef unsigned char slock_t;
-#endif
-
-#if defined(bsdi)
-#  if defined(i386)
-#    define NEED_I386_TAS_ASM
-#  endif
-#  if defined(sparc)
-#    define NEED_SPARC_TAS_ASM
-#  endif
-#  define USE_POSIX_TIME
-#  define HAS_TEST_AND_SET
-   typedef unsigned char slock_t;
-#endif
-
-
-#if defined(dgux)
-#  define LINUX_ELF
-#  define USE_POSIX_SIGNALS
-#endif
-
-#if defined(hpux)
-#  define JMP_BUF
-#  define USE_POSIX_TIME
-#  define HAS_TEST_AND_SET
-   typedef struct { int sem[4]; } slock_t;
-#endif
-
-#if defined(i386_solaris) 
-#  define USE_POSIX_TIME 
-#  define USE_POSIX_SIGNALS
-#  define NEED_RUSAGE 
-#  define NO_EMPTY_STMTS
-#  define SYSV_DIRENT
-#  define HAS_TEST_AND_SET
-   typedef unsigned char slock_t;
-#endif
-
-#if defined(irix5)
-#  define USE_POSIX_TIME 
-#  define USE_POSIX_SIGNALS
-#  define NO_EMPTY_STMTS
-#  define NO_VFORK
-#  define SYSV_DIRENT
-#  define HAS_TEST_AND_SET
-#  include <abi_mutex.h>
-   typedef abilock_t slock_t;
-#endif
-
-#if defined(linux)
-/* __USE_POSIX, __USE_BSD, and __USE_BSD_SIGNAL used to be defined either
-   here or with -D compile options, but __ macros should be set and used by C
-   library macros, not Postgres code.  __USE_POSIX is set by features.h,
-   __USE_BSD is set by bsd/signal.h, and __USE_BSD_SIGNAL appears not to
-   be used.
-*/
-#  define JMP_BUF
-#  define USE_POSIX_TIME
-#  define NEED_I386_TAS_ASM
-#  define HAS_TEST_AND_SET
-   typedef unsigned char slock_t;
-#endif
-
-#if defined(nextstep)
-# include <sys/ioctl.h>
-# if defined(__STRICT_ANSI__)
-#  define isascii(c)  ((unsigned)(c)<=0177)
-# endif
-  extern char* strdup (const char* string);
-# ifndef _POSIX_SOURCE
-  typedef unsigned short mode_t;
-  typedef int sigset_t;
-#  define SIG_BLOCK    00
-#  define SIG_UNBLOCK  01
-#  define SIG_SETMASK  02
-#  define NO_SIGACTION
-#  define NO_SETSID
-#  define NO_SIGPROCMASK
-#  define NEED_SIG_JMP
-# endif
-
-# define JMP_BUF
-# define NO_WAITPID
-  typedef struct mutex slock_t;
-#endif
-
-#if defined(sparc_solaris)
-#  define USE_POSIX_TIME 
-#  define USE_POSIX_SIGNALS
-#  define NEED_RUSAGE 
-#  define NO_EMPTY_STMTS
-#  define USE_POSIX_TIME
-#  define SYSV_DIRENT
-#  define HAS_TEST_AND_SET
-typedef unsigned char slock_t;
-#endif
-
-#if defined(sunos4)
-#  define USE_POSIX_TIME
-/* #  undef HAVE_MEMMOVE */
-#endif
-
-#if defined(svr4) 
-#  define USE_POSIX_TIME 
-#  define USE_POSIX_SIGNALS
-#  define NEED_RUSAGE 
-#  define NO_EMPTY_STMTS
-#  define SYSV_DIRENT
-#endif
-
-#if defined(win32)
-#  define JMP_BUF
-#  define NEED_SIG_JMP
-#  define NO_UNISTD_H
-#  define USES_WINSOCK 
-#  define NOFILE       100
-#  ifndef MAXPATHLEN
-#  define MAXPATHLEN    250
-#  endif
-#endif /* WIN32 */
-
-#if defined(ultrix4)
-#  define USE_POSIX_TIME
-#  define NEED_STRDUP
-#endif
+#include "os.h"
 
 /* This patch changes the behavior of aclcheck for groups. Currently an user
  * can access a table only if he has the required permission for ALL the groups
@@ -262,11 +130,6 @@ typedef unsigned char slock_t;
 
 #define DEF_PGPORT "5432"
 
-/* turn this on if you prefer European style dates instead of American
- * style dates
- */
-/* #define EUROPEAN_DATES  */
-
 /*
  * If you do not plan to use Host based authentication,
  * comment out the following line
@@ -393,14 +256,23 @@ typedef unsigned char slock_t;
 /* #define OLD_REWRITE        */
 /* #define NOTYET             */
 
+/* Genetic Query Optimization (GEQO):
+ * 
+ * The GEQO module in PostgreSQL is intended for the solution of the
+ * query optimization problem by means of a Genetic Algorithm (GA).
+ * It allows the handling of large JOIN queries through non-exhaustive
+ * search.
+ * For further information see README.GEQO <utesch@aut.tu-freiberg.de>.
+ */
+/*#define GEQO */ /* backend/optimizer/path/allpaths.c */
+
+/*
+ * Define this if you want psql to _always_ ask for a username and a password
+ * for password authentication.
+ */
+/* #define PSQL_ALWAYS_GET_PASSWORDS */
 
 /* Undocumented "features"? */
 #define FASTBUILD /* access/nbtree/nbtsort.c */
 
-
-
-
-
-
 #endif /* CONFIG_H */
-