X-Git-Url: https://granicus.if.org/sourcecode?a=blobdiff_plain;f=src%2Finclude%2Fpg_config.h.in;h=e84205c9ea08892d8d90f9707658efe3960b978d;hb=e9b49690627eb91106af3aa98d0fcc510de6538b;hp=f33bd18f6737240899b71ad2135584749f7f0d96;hpb=6c9b11b35e300955587403bc14b8fa0a9ebe458d;p=postgresql diff --git a/src/include/pg_config.h.in b/src/include/pg_config.h.in index f33bd18f67..e84205c9ea 100644 --- a/src/include/pg_config.h.in +++ b/src/include/pg_config.h.in @@ -1,732 +1,656 @@ -/* - * PostgreSQL configuration-settings file. - * - * pg_config.h.in is processed by configure to produce pg_config.h. - * - * If you want to modify any of the tweakable settings in Part 2 - * of this file, you can do it in pg_config.h.in before running configure, - * or in pg_config.h afterwards. Of course, if you edit pg_config.h, then your - * changes will be overwritten the next time you run configure. - * - * $Id: pg_config.h.in,v 1.12 2001/11/15 16:09:34 momjian Exp $ - */ - -#ifndef PG_CONFIG_H -#define PG_CONFIG_H - - -/* - *------------------------------------------------------------------------ - * Part 1: feature symbols and limits that are set by configure based on - * user-supplied switches. This is first so that stuff in Part 2 can - * depend on these values. - * - * Beware of "fixing" configure-time mistakes by editing these values, - * since configure may have inserted the settings in other files as well - * as here. Best to rerun configure if you forgot --enable-multibyte - * or whatever. - *------------------------------------------------------------------------ - */ - -/* The version number is actually hard-coded into configure.in */ -#undef PG_VERSION -/* A canonical string containing the version number, platform, and C compiler */ -#undef PG_VERSION_STR - -/* Set to 1 if you want LOCALE support (--enable-locale) */ -#undef USE_LOCALE +/* src/include/pg_config.h.in. Generated from configure.in by autoheader. */ -/* Set to 1 if you want cyrillic recode (--enable-recode) */ -#undef CYR_RECODE +/* Define to the type of arg 1 of 'accept' */ +#undef ACCEPT_TYPE_ARG1 -/* Set to 1 if you want to use multibyte characters (--enable-multibyte) */ -#undef MULTIBYTE - -#ifdef MULTIBYTE -/* --enable-multibyte implies UNICODE_CONVERSION */ -#define UNICODE_CONVERSION -#endif +/* Define to the type of arg 2 of 'accept' */ +#undef ACCEPT_TYPE_ARG2 -/* Set to 1 if you want ASSERT checking (--enable-cassert) */ -#undef USE_ASSERT_CHECKING +/* Define to the type of arg 3 of 'accept' */ +#undef ACCEPT_TYPE_ARG3 -/* Set to 1 to use syslog() to write postmaster log (--enable-syslog) */ -#undef ENABLE_SYSLOG +/* Define to the return type of 'accept' */ +#undef ACCEPT_TYPE_RETURN -/* Define to build with Kerberos 4 support (--with-krb4[=DIR]) */ -#undef KRB4 +/* The alignment requirement of a `double'. */ +#undef ALIGNOF_DOUBLE -/* Define to build with Kerberos 5 support (--with-krb5[=DIR]) */ -#undef KRB5 +/* The alignment requirement of a `int'. */ +#undef ALIGNOF_INT -/* Kerberos name of the Postgres service principal (--with-krb-srvnam=NAME) */ -#undef PG_KRB_SRVNAM +/* The alignment requirement of a `long'. */ +#undef ALIGNOF_LONG -/* Define to build with (Open)SSL support (--with-openssl[=DIR]) */ -#undef USE_SSL +/* The alignment requirement of a `long long int'. */ +#undef ALIGNOF_LONG_LONG_INT -/* Define to build with PAM Support */ -#undef USE_PAM +/* The alignment requirement of a `short'. */ +#undef ALIGNOF_SHORT -/* - * DEF_PGPORT is the TCP port number on which the Postmaster listens and - * which clients will try to connect to. This is just a default value; - * it can be overridden at postmaster or client startup. It's awfully - * convenient if your clients have the right default compiled in, though. - * (--with-pgport=PORTNUM) - */ +/* Define to the default TCP port number on which the server listens and to + which clients will try to connect. This can be overridden at run-time, but + it's convenient if your clients have the right default compiled in. + (--with-pgport=PORTNUM) */ #undef DEF_PGPORT -/* ... and once more as a string constant instead */ + +/* Define to the default TCP port number as a string constant. */ #undef DEF_PGPORT_STR -/* - * Default soft limit on number of backend server processes per postmaster; - * this is just the default setting for the postmaster's -N switch. - * (--with-maxbackends=N) - */ -#undef DEF_MAXBACKENDS +/* Define to 1 to enable DTrace support. (--enable-dtrace) */ +#undef ENABLE_DTRACE -/* --enable-nls */ +/* Define to 1 if you want National Language Support. (--enable-nls) */ #undef ENABLE_NLS -/* location of locale files */ -#undef LOCALEDIR - -/* Define to build the ODBC driver for unixODBC */ -#undef WITH_UNIXODBC - -/* Define to build the ODBC driver for iODBC */ -#undef WITH_IODBC - - -/* - *------------------------------------------------------------------------ - * Part 2: feature symbols and limits that are user-configurable, but - * only by editing this file ... there's no configure support for them. - * - * Editing this file and doing a full rebuild (and an initdb if noted) - * should be sufficient to change any of these. - *------------------------------------------------------------------------ - */ - -/* - * Default number of buffers in shared buffer pool (each of size BLCKSZ). - * This is just the default setting for the postmaster's -B switch. - * Perhaps it ought to be configurable from a configure switch. - * NOTE: default setting corresponds to the minimum number of buffers - * that postmaster.c will allow for the default MaxBackends value. - */ -#define DEF_NBUFFERS (DEF_MAXBACKENDS > 8 ? DEF_MAXBACKENDS * 2 : 16) - -/* - * Size of a disk block --- this also limits the size of a tuple. - * You can set it bigger if you need bigger tuples (although TOAST - * should reduce the need to have large tuples, since fields can now - * be spread across multiple tuples). - * - * The maximum possible value of BLCKSZ is currently 2^15 (32768). - * This is determined by the 15-bit widths of the lp_off and lp_len - * fields in ItemIdData (see include/storage/itemid.h). - * - * CAUTION: changing BLCKSZ requires an initdb. - */ -#define BLCKSZ 8192 - -/* - * RELSEG_SIZE is the maximum number of blocks allowed in one disk file. - * Thus, the maximum size of a single file is RELSEG_SIZE * BLCKSZ; - * relations bigger than that are divided into multiple files. - * - * CAUTION: RELSEG_SIZE * BLCKSZ must be less than your OS' limit on file - * size. This is typically 2Gb or 4Gb in a 32-bit operating system. By - * default, we make the limit 1Gb to avoid any possible integer-overflow - * problems within the OS. A limit smaller than necessary only means we - * divide a large relation into more chunks than necessary, so it seems - * best to err in the direction of a small limit. (Besides, a power-of-2 - * value saves a few cycles in md.c.) - * - * CAUTION: changing RELSEG_SIZE requires an initdb. - */ -#define RELSEG_SIZE (0x40000000 / BLCKSZ) - -/* - * Maximum number of columns in an index and maximum number of arguments - * to a function. They must be the same value. - * - * The minimum value is 8 (index creation uses 8-argument functions). - * There is no specific upper limit, although large values will waste - * system-table space and processing time. - * - * CAUTION: changing these requires an initdb. - * - * BTW: if you need to call dynamically-loaded old-style C functions that - * have more than 16 arguments, you will also need to add cases to the - * switch statement in fmgr_oldstyle() in src/backend/utils/fmgr/fmgr.c. - * But consider converting such functions to new-style instead... - */ -#define INDEX_MAX_KEYS 16 -#define FUNC_MAX_ARGS INDEX_MAX_KEYS - -/* - * System default value for pg_attribute.attstattarget - */ -#define DEFAULT_ATTSTATTARGET 10 - -/* - * Define this to make libpgtcl's "pg_result -assign" command process C-style - * backslash sequences in returned tuple data and convert Postgres array - * attributes into Tcl lists. CAUTION: this conversion is *wrong* unless - * you install the routines in contrib/string/string_io to make the backend - * produce C-style backslash sequences in the first place. - */ -/* #define TCL_ARRAYS */ - -/* - * User locks are handled totally on the application side as long term - * cooperative locks which extend beyond the normal transaction boundaries. - * Their purpose is to indicate to an application that someone is `working' - * on an item. Define this flag to enable user locks. You will need the - * loadable module user-locks.c to use this feature. - */ -#define USER_LOCKS - -/* - * Define this if you want psql to _always_ ask for a username and a password - * for password authentication. - */ -/* #define PSQL_ALWAYS_GET_PASSWORDS */ - -/* - * Define this if you want to allow the lo_import and lo_export SQL functions - * to be executed by ordinary users. By default these functions are only - * available to the Postgres superuser. CAUTION: these functions are - * SECURITY HOLES since they can read and write any file that the Postgres - * backend has permission to access. If you turn this on, don't say we - * didn't warn you. - */ -/* #define ALLOW_DANGEROUS_LO_FUNCTIONS */ - -/* - * Use btree bulkload code: - * this code is moderately slow (~10% slower) compared to the regular - * btree (insertion) build code on sorted or well-clustered data. on - * random data, however, the insertion build code is unusable -- the - * difference on a 60MB heap is a factor of 15 because the random - * probes into the btree thrash the buffer pool. - * - * Great thanks to Paul M. Aoki (aoki@CS.Berkeley.EDU) - */ -#define FASTBUILD /* access/nbtree/nbtsort.c */ - -/* - * MAXPGPATH: standard size of a pathname buffer in Postgres (hence, - * maximum usable pathname length is one less). - * - * We'd use a standard system header symbol for this, if there weren't - * so many to choose from: MAXPATHLEN, _POSIX_PATH_MAX, MAX_PATH, PATH_MAX - * are all defined by different "standards", and often have different - * values on the same platform! So we just punt and use a reasonably - * generous setting here. - */ -#define MAXPGPATH 1024 - -/* - * DEFAULT_MAX_EXPR_DEPTH: default value of max_expr_depth SET variable. - */ -#define DEFAULT_MAX_EXPR_DEPTH 10000 - -/* - * PG_SOMAXCONN: maximum accept-queue length limit passed to listen(2). - * You'd think we should use SOMAXCONN from , but on many - * systems that symbol is much smaller than the kernel's actual limit. - * In any case, this symbol need be twiddled only if you have a kernel - * that refuses large limit values, rather than silently reducing the - * value to what it can handle (which is what most if not all Unixen do). - */ -#define PG_SOMAXCONN 10000 - -/* - * You can try changing this if you have a machine with bytes of another - * size, but no guarantee... - */ -#define BITS_PER_BYTE 8 - -/* - * Define this if your operating system supports AF_UNIX family sockets. - */ -#if !defined(__QNX__) && !defined(__BEOS__) -# define HAVE_UNIX_SOCKETS 1 -#endif +/* Define to 1 to build client libraries as thread-safe code. + (--enable-thread-safety) */ +#undef ENABLE_THREAD_SAFETY -/* - * This is the default directory in which AF_UNIX socket files are placed. - * Caution: changing this risks breaking your existing client applications, - * which are likely to continue to look in the old directory. But if you - * just hate the idea of sockets in /tmp, here's where to twiddle it. - * You can also override this at runtime with the postmaster's -k switch. - */ -#define DEFAULT_PGSOCKET_DIR "/tmp" - - -/* - *------------------------------------------------------------------------ - * These hand-configurable symbols are for enabling debugging code, - * not for controlling user-visible features or resource limits. - *------------------------------------------------------------------------ - */ - -/* Define this to cause pfree()'d memory to be cleared immediately, - * to facilitate catching bugs that refer to already-freed values. - * XXX For 7.1 development, define this automatically if --enable-cassert. - * In the long term it probably doesn't need to be on by default. - */ -#ifdef USE_ASSERT_CHECKING -#define CLOBBER_FREED_MEMORY -#endif +/* Define to 1 if getpwuid_r() takes a 5th argument. */ +#undef GETPWUID_R_5ARG -/* Define this to check memory allocation errors (scribbling on more - * bytes than were allocated). - * XXX For 7.1 development, define this automatically if --enable-cassert. - * In the long term it probably doesn't need to be on by default. - */ -#ifdef USE_ASSERT_CHECKING -#define MEMORY_CONTEXT_CHECKING -#endif +/* Define to 1 if gettimeofday() takes only 1 argument. */ +#undef GETTIMEOFDAY_1ARG -/* Define this to force all parse and plan trees to be passed through - * copyObject(), to facilitate catching errors and omissions in copyObject(). - */ -/* #define COPY_PARSE_PLAN_TREES */ - -/* Enable debugging print statements in the date/time support routines. */ -/* #define DATEDEBUG */ - -/* Enable debugging print statements for lock-related operations. */ -/* #define LOCK_DEBUG */ - -/* - * Other debug #defines (documentation, anyone?) - */ -/* #define IPORTAL_DEBUG */ -/* #define HEAPDEBUGALL */ -/* #define ISTRATDEBUG */ -/* #define ACLDEBUG */ -/* #define RTDEBUG */ -/* #define GISTDEBUG */ - -/* - * defining unsafe floats will make float4 and float8 ops faster - * by suppressing overflow/underflow checks. - */ -/* #define UNSAFE_FLOATS */ - - -/* - *------------------------------------------------------------------------ - * Part 3: system configuration information that is auto-detected by - * configure. In theory you shouldn't have to touch any of this stuff - * by hand. In the real world, configure might get it wrong... - *------------------------------------------------------------------------ - */ - -/* Define const as empty if your compiler doesn't grok const. */ -#undef const +#ifdef GETTIMEOFDAY_1ARG +# define gettimeofday(a,b) gettimeofday(a) +#endif -/* Define as your compiler's spelling of "inline", or empty if no inline. */ -#undef inline +/* Define to 1 if you have the `atexit' function. */ +#undef HAVE_ATEXIT -/* Define as empty if the C compiler doesn't understand "signed". */ -#undef signed +/* Define to 1 if you have the `cbrt' function. */ +#undef HAVE_CBRT -/* Define as empty if the C compiler doesn't understand "volatile". */ -#undef volatile +/* Define to 1 if you have the `class' function. */ +#undef HAVE_CLASS -/* Define if your cpp understands the ANSI stringizing operators in macros */ -#undef HAVE_STRINGIZE +/* Define to 1 if you have the `crypt' function. */ +#undef HAVE_CRYPT -/* Set to 1 if you have */ +/* Define to 1 if you have the header file. */ #undef HAVE_CRYPT_H -/* Set to 1 if you have */ +/* Define to 1 if you have the declaration of `fdatasync', and to 0 if you + don't. */ +#undef HAVE_DECL_FDATASYNC + +/* Define to 1 if you have the declaration of `F_FULLFSYNC', and to 0 if you + don't. */ +#undef HAVE_DECL_F_FULLFSYNC + +/* Define to 1 if you have the declaration of `posix_fadvise', and to 0 if you + don't. */ +#undef HAVE_DECL_POSIX_FADVISE + +/* Define to 1 if you have the declaration of `snprintf', and to 0 if you + don't. */ +#undef HAVE_DECL_SNPRINTF + +/* Define to 1 if you have the declaration of `vsnprintf', and to 0 if you + don't. */ +#undef HAVE_DECL_VSNPRINTF + +/* Define to 1 if you have the header file. */ #undef HAVE_DLD_H -/* Set to 1 if you have */ +/* Define to 1 if you have the `dlopen' function. */ +#undef HAVE_DLOPEN + +/* Define to 1 if you have the header file. */ +#undef HAVE_EDITLINE_HISTORY_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_EDITLINE_READLINE_H + +/* Define to 1 if you have the header file. */ #undef HAVE_ENDIAN_H -/* Set to 1 if you have */ +/* Define to 1 if you have the `fcvt' function. */ +#undef HAVE_FCVT + +/* Define to 1 if you have the `fdatasync' function. */ +#undef HAVE_FDATASYNC + +/* Define to 1 if you have finite(). */ +#undef HAVE_FINITE + +/* Define to 1 if you have the `fpclass' function. */ +#undef HAVE_FPCLASS + +/* Define to 1 if you have the `fp_class' function. */ +#undef HAVE_FP_CLASS + +/* Define to 1 if you have the `fp_class_d' function. */ +#undef HAVE_FP_CLASS_D + +/* Define to 1 if you have the header file. */ #undef HAVE_FP_CLASS_H -/* Set to 1 if you have */ +/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */ +#undef HAVE_FSEEKO + +/* Define to 1 if your compiler understands __func__. */ +#undef HAVE_FUNCNAME__FUNC + +/* Define to 1 if your compiler understands __FUNCTION__. */ +#undef HAVE_FUNCNAME__FUNCTION + +/* Define to 1 if you have the `getaddrinfo' function. */ +#undef HAVE_GETADDRINFO + +/* Define to 1 if you have the `gethostbyname_r' function. */ +#undef HAVE_GETHOSTBYNAME_R + +/* Define to 1 if you have the `getopt' function. */ +#undef HAVE_GETOPT + +/* Define to 1 if you have the header file. */ #undef HAVE_GETOPT_H -/* Set to 1 if you have */ +/* Define to 1 if you have the `getopt_long' function. */ +#undef HAVE_GETOPT_LONG + +/* Define to 1 if you have the `getpeereid' function. */ +#undef HAVE_GETPEEREID + +/* Define to 1 if you have the `getpwuid_r' function. */ +#undef HAVE_GETPWUID_R + +/* Define to 1 if you have the `getrusage' function. */ +#undef HAVE_GETRUSAGE + +/* Define to 1 if you have the header file. */ #undef HAVE_HISTORY_H -/* Set to 1 if you have */ +/* Define to 1 if you have the header file. */ #undef HAVE_IEEEFP_H -/* Set to 1 if you have */ -#undef HAVE_NETINET_TCP_H +/* Define to 1 if you have the `inet_aton' function. */ +#undef HAVE_INET_ATON -/* Set to 1 if you have */ -#undef HAVE_READLINE_H +/* Define to 1 if the system has the type `int64'. */ +#undef HAVE_INT64 -/* Set to 1 if you have */ -#undef HAVE_READLINE_HISTORY_H +/* Define to 1 if the system has the type `int8'. */ +#undef HAVE_INT8 -/* Set to 1 if you have */ -#undef HAVE_READLINE_READLINE_H +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H -/* Set to 1 if you have */ -#undef HAVE_SYS_IPC_H +/* Define to 1 if you have the global variable 'int optreset'. */ +#undef HAVE_INT_OPTRESET -/* Set to 1 if you have */ -#undef HAVE_SYS_SELECT_H +/* Define to 1 if you have the global variable 'int timezone'. */ +#undef HAVE_INT_TIMEZONE -/* Set to 1 if you have */ -#undef HAVE_SYS_UN_H +/* Define to 1 if you have support for IPv6. */ +#undef HAVE_IPV6 -/* Set to 1 if you have */ -#undef HAVE_SYS_SEM_H +/* Define to 1 if you have isinf(). */ +#undef HAVE_ISINF -/* Set to 1 if you have */ -#undef HAVE_SYS_SHM_H +/* Define to 1 if you have the header file. */ +#undef HAVE_KERNEL_IMAGE_H -/* Set to 1 if you have */ +/* Define to 1 if you have the header file. */ #undef HAVE_KERNEL_OS_H -/* Set to 1 if you have */ -#undef HAVE_SUPPORTDEFS_H +/* Define to 1 if `e_data' is member of `krb5_error'. */ +#undef HAVE_KRB5_ERROR_E_DATA -/* Set to 1 if you have */ -#undef HAVE_KERNEL_IMAGE_H +/* Define to 1 if `text.data' is member of `krb5_error'. */ +#undef HAVE_KRB5_ERROR_TEXT_DATA -/* Set to 1 if you have */ -#undef HAVE_TERMIOS_H +/* Define to 1 if `client' is member of `krb5_ticket'. */ +#undef HAVE_KRB5_TICKET_CLIENT -/* Set to 1 if you have */ -#undef HAVE_SYS_PSTAT_H +/* Define to 1 if `enc_part2' is member of `krb5_ticket'. */ +#undef HAVE_KRB5_TICKET_ENC_PART2 -/* Define if string.h and strings.h may both be included */ -#undef STRING_H_WITH_STRINGS_H +/* Define to 1 if you have the header file. */ +#undef HAVE_LANGINFO_H -/* Define if you have the setproctitle function. */ -#undef HAVE_SETPROCTITLE +/* Define to 1 if you have the header file. */ +#undef HAVE_LDAP_H -/* Define if you have the pstat function. */ -#undef HAVE_PSTAT +/* Define to 1 if you have the `crypto' library (-lcrypto). */ +#undef HAVE_LIBCRYPTO -/* Define if the PS_STRINGS thing exists. */ -#undef HAVE_PS_STRINGS +/* Define to 1 if you have the `eay32' library (-leay32). */ +#undef HAVE_LIBEAY32 -/* Define if you have the stricmp function. */ -#undef HAVE_STRICMP +/* Define to 1 if you have the `ldap' library (-lldap). */ +#undef HAVE_LIBLDAP -/* Set to 1 if you have history functions (either in libhistory or libreadline) */ -#undef HAVE_HISTORY_FUNCTIONS +/* Define to 1 if you have the `pam' library (-lpam). */ +#undef HAVE_LIBPAM -/* Set to 1 if you have */ -#undef HAVE_PWD_H +/* Define if you have a function readline library */ +#undef HAVE_LIBREADLINE -/* Set to 1 if you have gettimeofday(a) instead of gettimeofday(a,b) */ -#undef GETTIMEOFDAY_1ARG -#ifdef GETTIMEOFDAY_1ARG -# define gettimeofday(a,b) gettimeofday(a) -#endif +/* Define to 1 if you have the `ssl' library (-lssl). */ +#undef HAVE_LIBSSL -/* Set to 1 if you have snprintf() in the C library */ -#undef HAVE_SNPRINTF +/* Define to 1 if you have the `ssleay32' library (-lssleay32). */ +#undef HAVE_LIBSSLEAY32 -/* Set to 1 if your standard system headers declare snprintf() */ -#undef HAVE_SNPRINTF_DECL +/* Define to 1 if you have the `wldap32' library (-lwldap32). */ +#undef HAVE_LIBWLDAP32 -/* Set to 1 if you have vsnprintf() in the C library */ -#undef HAVE_VSNPRINTF +/* Define to 1 if you have the `z' library (-lz). */ +#undef HAVE_LIBZ -/* Set to 1 if your standard system headers declare vsnprintf() */ -#undef HAVE_VSNPRINTF_DECL +/* Define to 1 if constants of type 'long long int' should have the suffix LL. + */ +#undef HAVE_LL_CONSTANTS -/* Set to 1 if you have strerror() */ -#undef HAVE_STRERROR +/* Define to 1 if `long int' works and is 64 bits. */ +#undef HAVE_LONG_INT_64 -/* Set to 1 if you have isinf() */ -#undef HAVE_ISINF -#ifndef HAVE_ISINF -extern int isinf(double x); -#endif +/* Define to 1 if `long long int' works and is 64 bits. */ +#undef HAVE_LONG_LONG_INT_64 -/* - * These are all related to port/isinf.c - */ -#undef HAVE_FPCLASS -#undef HAVE_FP_CLASS -#undef HAVE_FP_CLASS_H -#undef HAVE_FP_CLASS_D -#undef HAVE_CLASS +/* Define to 1 if you have the `memmove' function. */ +#undef HAVE_MEMMOVE -/* Set to 1 if you have gethostname() */ -#undef HAVE_GETHOSTNAME -#ifndef HAVE_GETHOSTNAME -extern int gethostname(char *name, int namelen); -#endif +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H -/* Set to 1 if struct tm has a tm_zone member */ -#undef HAVE_TM_ZONE +/* Define to 1 if you have the header file. */ +#undef HAVE_NETINET_IN_H -/* Set to 1 if you have int timezone. - * NOTE: if both tm_zone and a global timezone variable exist, - * using the tm_zone field should probably be preferred, - * since global variables are inherently not thread-safe. - */ -#undef HAVE_INT_TIMEZONE +/* Define to 1 if you have the header file. */ +#undef HAVE_NETINET_TCP_H -/* Set to 1 if you have cbrt() */ -#undef HAVE_CBRT +/* Define to 1 if you have the `on_exit' function. */ +#undef HAVE_ON_EXIT -/* Set to 1 if you have inet_aton() */ -#undef HAVE_INET_ATON +/* Define to 1 if you have the header file. */ +#undef HAVE_PAM_PAM_APPL_H -#ifndef HAVE_INET_ATON -# include -# include -# include -extern int inet_aton(const char *cp, struct in_addr * addr); -#endif +/* Define to 1 if you have the `poll' function. */ +#undef HAVE_POLL -/* Set to 1 if you have fcvt() */ -#undef HAVE_FCVT +/* Define to 1 if you have the header file. */ +#undef HAVE_POLL_H -/* Set to 1 if you have rint() */ -#undef HAVE_RINT +/* Define to 1 if you have the POSIX signal interface. */ +#undef HAVE_POSIX_SIGNALS -/* Set to 1 if you have finite() */ -#undef HAVE_FINITE +/* Define to 1 if you have the `pstat' function. */ +#undef HAVE_PSTAT -/* Set to 1 if you have memmove() */ -#undef HAVE_MEMMOVE +/* Define to 1 if the PS_STRINGS thing exists. */ +#undef HAVE_PS_STRINGS -/* Set to 1 if you have sigsetjmp() */ -#undef HAVE_SIGSETJMP +/* Define if you have POSIX threads libraries and header files. */ +#undef HAVE_PTHREAD -/* - * When there is no sigsetjmp, its functionality is provided by plain - * setjmp. Incidentally, nothing provides setjmp's functionality in - * that case. - */ -#ifndef HAVE_SIGSETJMP -# define sigjmp_buf jmp_buf -# define sigsetjmp(x,y) setjmp(x) -# define siglongjmp longjmp -#endif +/* Define to 1 if you have the header file. */ +#undef HAVE_PWD_H -/* Set to 1 if you have sysconf() */ -#undef HAVE_SYSCONF +/* Define to 1 if you have the `random' function. */ +#undef HAVE_RANDOM -/* Set to 1 if you have getrusage() */ -#undef HAVE_GETRUSAGE +/* Define to 1 if you have the header file. */ +#undef HAVE_READLINE_H -/* Set to 1 if you have waitpid() */ -#undef HAVE_WAITPID +/* Define to 1 if you have the header file. */ +#undef HAVE_READLINE_HISTORY_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_READLINE_READLINE_H + +/* Define to 1 if you have the `readlink' function. */ +#undef HAVE_READLINK + +/* Define to 1 if you have the `replace_history_entry' function. */ +#undef HAVE_REPLACE_HISTORY_ENTRY + +/* Define to 1 if you have the `rint' function. */ +#undef HAVE_RINT + +/* Define to 1 if you have the global variable + 'rl_completion_append_character'. */ +#undef HAVE_RL_COMPLETION_APPEND_CHARACTER + +/* Define to 1 if you have the `rl_completion_matches' function. */ +#undef HAVE_RL_COMPLETION_MATCHES + +/* Define to 1 if you have the `rl_filename_completion_function' function. */ +#undef HAVE_RL_FILENAME_COMPLETION_FUNCTION -/* Set to 1 if you have setsid() */ +/* Define to 1 if you have the header file. */ +#undef HAVE_SECURITY_PAM_APPL_H + +/* Define to 1 if you have the `setproctitle' function. */ +#undef HAVE_SETPROCTITLE + +/* Define to 1 if you have the `setsid' function. */ #undef HAVE_SETSID -/* Set to 1 if you have sigprocmask() */ +/* Define to 1 if you have the `sigprocmask' function. */ #undef HAVE_SIGPROCMASK -/* Set to 1 if you have sigprocmask() */ -#undef HAVE_STRCASECMP -#ifndef HAVE_STRCASECMP -extern int strcasecmp(char *s1, char *s2); -#endif - -/* Set to 1 if you have strtol() */ -#undef HAVE_STRTOL +/* Define to 1 if you have sigsetjmp(). */ +#undef HAVE_SIGSETJMP -/* Set to 1 if you have strtoul() */ -#undef HAVE_STRTOUL +/* Define to 1 if the system has the type `sig_atomic_t'. */ +#undef HAVE_SIG_ATOMIC_T -/* Set to 1 if you have strdup() */ -#undef HAVE_STRDUP -#ifndef HAVE_STRDUP -extern char *strdup(char const *); -#endif +/* Define to 1 if you have the `snprintf' function. */ +#undef HAVE_SNPRINTF -/* Set to 1 if you have random() */ -#undef HAVE_RANDOM -#ifndef HAVE_RANDOM -extern long random(void); -#endif +/* Define to 1 if you have spinlocks. */ +#undef HAVE_SPINLOCKS -/* Set to 1 if you have srandom() */ +/* Define to 1 if you have the `srandom' function. */ #undef HAVE_SRANDOM -#ifndef HAVE_SRANDOM -extern void srandom(unsigned int seed); -#endif -/* The random() function is expected to yield values 0 .. MAX_RANDOM_VALUE */ -/* Currently, all known implementations yield 0..2^31-1, so we just hardwire - * this constant. We could do a configure test if it proves to be necessary. - * CAUTION: Think not to replace this with RAND_MAX. RAND_MAX defines the - * maximum value of the older rand() function, which is often different from - * --- and considerably inferior to --- random(). - */ -#define MAX_RANDOM_VALUE (0x7FFFFFFF) +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H -/* Define if you have dlopen() */ -#undef HAVE_DLOPEN +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H -/* Define if you have fdatasync() */ -#undef HAVE_FDATASYNC +/* Define to 1 if you have the `strdup' function. */ +#undef HAVE_STRDUP + +/* Define to 1 if you have the `strerror' function. */ +#undef HAVE_STRERROR -/* Define if the standard header unistd.h declares fdatasync() */ -#undef HAVE_FDATASYNC_DECL +/* Define to 1 if you have the `strerror_r' function. */ +#undef HAVE_STRERROR_R -#if defined(HAVE_FDATASYNC) && !defined(HAVE_FDATASYNC_DECL) -extern int fdatasync(int fildes); -#endif +/* Define to 1 if cpp supports the ANSI # stringizing operator. */ +#undef HAVE_STRINGIZE -/* Set to 1 if you have libz.a */ -#undef HAVE_LIBZ +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H -/* Set to 1 if you have libreadline.a */ -#undef HAVE_LIBREADLINE +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H -/* Set to 1 if you have libhistory.a */ -#undef HAVE_LIBHISTORY +/* Define to 1 if you have the `strtol' function. */ +#undef HAVE_STRTOL -/* Set to 1 if your libreadline defines rl_completion_append_character */ -#undef HAVE_RL_COMPLETION_APPEND_CHARACTER +/* Define to 1 if you have the `strtoll' function. */ +#undef HAVE_STRTOLL -/* Set to 1 if you have rl_completion_matches */ -#undef HAVE_RL_COMPLETION_MATCHES +/* Define to 1 if you have the `strtoq' function. */ +#undef HAVE_STRTOQ -/* Set to 1 if you have rl_filename_completion_function */ -#undef HAVE_RL_FILENAME_COMPLETION_FUNCTION +/* Define to 1 if you have the `strtoul' function. */ +#undef HAVE_STRTOUL -/* Set to 1 if you have getopt_long() (GNU long options) */ -#undef HAVE_GETOPT_LONG +/* Define to 1 if you have the `strtoull' function. */ +#undef HAVE_STRTOULL -/* Set to 1 if you have union semun */ -#undef HAVE_UNION_SEMUN +/* Define to 1 if you have the `strtouq' function. */ +#undef HAVE_STRTOUQ -/* Set to 1 if you have struct cmsgcred */ +/* Define to 1 if the system has the type `struct addrinfo'. */ +#undef HAVE_STRUCT_ADDRINFO + +/* Define to 1 if the system has the type `struct cmsgcred'. */ #undef HAVE_STRUCT_CMSGCRED -/* Set to 1 if you have struct fcred */ +/* Define to 1 if the system has the type `struct fcred'. */ #undef HAVE_STRUCT_FCRED -/* Set to 1 if you have struct sockcred */ -#undef HAVE_STRUCT_SOCKCRED +/* Define to 1 if the system has the type `struct option'. */ +#undef HAVE_STRUCT_OPTION -/* Set to 1 if you have struct sockaddr_un */ +/* Define to 1 if `sa_len' is member of `struct sockaddr'. */ +#undef HAVE_STRUCT_SOCKADDR_SA_LEN + +/* Define to 1 if the system has the type `struct sockaddr_storage'. */ +#undef HAVE_STRUCT_SOCKADDR_STORAGE + +/* Define to 1 if `ss_family' is member of `struct sockaddr_storage'. */ +#undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY + +/* Define to 1 if `ss_len' is member of `struct sockaddr_storage'. */ +#undef HAVE_STRUCT_SOCKADDR_STORAGE_SS_LEN + +/* Define to 1 if `__ss_family' is member of `struct sockaddr_storage'. */ +#undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_FAMILY + +/* Define to 1 if `__ss_len' is member of `struct sockaddr_storage'. */ +#undef HAVE_STRUCT_SOCKADDR_STORAGE___SS_LEN + +/* Define to 1 if the system has the type `struct sockaddr_un'. */ #undef HAVE_STRUCT_SOCKADDR_UN -/* Set to 1 if type "long int" works and is 64 bits */ -#undef HAVE_LONG_INT_64 +/* Define to 1 if the system has the type `struct sockcred'. */ +#undef HAVE_STRUCT_SOCKCRED -/* Set to 1 if type "long long int" works and is 64 bits */ -#undef HAVE_LONG_LONG_INT_64 +/* Define to 1 if `tm_zone' is member of `struct tm'. */ +#undef HAVE_STRUCT_TM_TM_ZONE -/* Set to 1 if type "long long int" constants should be suffixed by LL */ -#undef HAVE_LL_CONSTANTS +/* Define to 1 if you have the header file. */ +#undef HAVE_SUPPORTDEFS_H + +/* Define to 1 if you have the `symlink' function. */ +#undef HAVE_SYMLINK + +/* Define to 1 if you have the `sysconf' function. */ +#undef HAVE_SYSCONF + +/* Define to 1 if you have the syslog interface. */ +#undef HAVE_SYSLOG + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_IPC_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_POLL_H -/* Define this as the appropriate snprintf format for 64-bit ints, if any */ +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PSTAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SELECT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SEM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SHM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TIME_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_UN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_TERMIOS_H + +/* Define to 1 if your `struct tm' has `tm_zone'. Deprecated, use + `HAVE_STRUCT_TM_TM_ZONE' instead. */ +#undef HAVE_TM_ZONE + +/* Define to 1 if you have the `towlower' function. */ +#undef HAVE_TOWLOWER + +/* Define to 1 if you have the external array `tzname'. */ +#undef HAVE_TZNAME + +/* Define to 1 if the system has the type `uint64'. */ +#undef HAVE_UINT64 + +/* Define to 1 if the system has the type `uint8'. */ +#undef HAVE_UINT8 + +/* Define to 1 if the system has the type `union semun'. */ +#undef HAVE_UNION_SEMUN + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have unix sockets. */ +#undef HAVE_UNIX_SOCKETS + +/* Define to 1 if you have the `unsetenv' function. */ +#undef HAVE_UNSETENV + +/* Define to 1 if you have the `utime' function. */ +#undef HAVE_UTIME + +/* Define to 1 if you have the `utimes' function. */ +#undef HAVE_UTIMES + +/* Define to 1 if you have the header file. */ +#undef HAVE_UTIME_H + +/* Define to 1 if you have the `vsnprintf' function. */ +#undef HAVE_VSNPRINTF + +/* Define to 1 if you have the `waitpid' function. */ +#undef HAVE_WAITPID + +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + +/* Define to 1 if you have the `wcstombs' function. */ +#undef HAVE_WCSTOMBS + +/* Define to 1 if you have the header file. */ +#undef HAVE_WCTYPE_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_WINLDAP_H + +/* Define to the appropriate snprintf format for 64-bit ints, if any. */ #undef INT64_FORMAT -/* - * We need a #define symbol for sizeof(Datum) for use in some #if tests. - */ -#undef SIZEOF_DATUM - -/* - * These must be defined as the alignment requirement (NOT the size) of - * each of the basic C data types (except char, which we assume has align 1). - * MAXIMUM_ALIGNOF is the largest alignment requirement for any C data type. - * ALIGNOF_LONG_LONG_INT need only be defined if HAVE_LONG_LONG_INT_64 is. - */ -#undef ALIGNOF_SHORT -#undef ALIGNOF_INT -#undef ALIGNOF_LONG -#undef ALIGNOF_LONG_LONG_INT -#undef ALIGNOF_DOUBLE +/* Define to build with Kerberos 5 support. (--with-krb5) */ +#undef KRB5 + +/* Define as the maximum alignment requirement of any C data type. */ #undef MAXIMUM_ALIGNOF -/* Define as the type of the 3rd argument to accept() */ -#undef ACCEPT_TYPE_ARG3 +/* Define bytes to use libc memset(). */ +#undef MEMSET_LOOP_LIMIT -/* Define if POSIX signal interface is available */ -#undef HAVE_POSIX_SIGNALS +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT -/* Define if C++ compiler accepts "using namespace std" */ -#undef HAVE_NAMESPACE_STD +/* Define to the full name of this package. */ +#undef PACKAGE_NAME -/* Define if C++ compiler accepts "#include " */ -#undef HAVE_CXX_STRING_HEADER +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING -/* Define if you have the optreset variable */ -#undef HAVE_INT_OPTRESET +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME -/* Define if you have strtoll() */ -#undef HAVE_STRTOLL +/* Define to the version of this package. */ +#undef PACKAGE_VERSION -/* Define if you have strtoq() */ -#undef HAVE_STRTOQ +/* Define to the name of the default PostgreSQL service principal in Kerberos. + (--with-krb-srvnam=NAME) */ +#undef PG_KRB_SRVNAM -/* If strtoq() exists, rename it to the more standard strtoll() */ -#if defined(HAVE_LONG_LONG_INT_64) && !defined(HAVE_STRTOLL) && defined(HAVE_STRTOQ) -# define strtoll strtoq -# define HAVE_STRTOLL 1 -#endif +/* PostgreSQL version as a string */ +#undef PG_VERSION -/* Define if you have strtoull() */ -#undef HAVE_STRTOULL +/* PostgreSQL version as a number */ +#undef PG_VERSION_NUM -/* Define if you have strtouq() */ -#undef HAVE_STRTOUQ +/* A string containing the version number, platform, and C compiler */ +#undef PG_VERSION_STR -/* If strtouq() exists, rename it to the more standard strtoull() */ -#if defined(HAVE_LONG_LONG_INT_64) && !defined(HAVE_STRTOULL) && defined(HAVE_STRTOUQ) -# define strtoull strtouq -# define HAVE_STRTOULL 1 -#endif +/* Define to the necessary symbol if this constant uses a non-standard name on + your system. */ +#undef PTHREAD_CREATE_JOINABLE -/* Define if you have atexit() */ -#undef HAVE_ATEXIT +/* The size of a `size_t', as computed by sizeof. */ +#undef SIZEOF_SIZE_T -/* Define if you have on_exit() */ -#undef HAVE_ON_EXIT +/* The size of a `unsigned long', as computed by sizeof. */ +#undef SIZEOF_UNSIGNED_LONG -#undef SIZEOF_INT8 -#undef SIZEOF_UINT8 - -/* - *------------------------------------------------------------------------ - * Part 4: pull in system-specific declarations. - * - * This is still configure's responsibility, because it picks where - * the "pg_config_os.h" symlink points... - *------------------------------------------------------------------------ - */ - -/* - * Pull in OS-specific declarations (using link created by configure) - */ - -#include "pg_config_os.h" - -/* - * The following is used as the arg list for signal handlers. Any ports - * that take something other than an int argument should override this in - * the port-specific pg_config_os.h file. Note that variable names are required - * because it is used in both the prototypes as well as the definitions. - * Note also the long name. We expect that this won't collide with - * other names causing compiler warnings. - */ - -#ifndef SIGNAL_ARGS -#define SIGNAL_ARGS int postgres_signal_arg -#endif +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* Define to 1 if strerror_r() returns a int. */ +#undef STRERROR_R_INT +/* Define to 1 if your declares `struct tm'. */ +#undef TM_IN_SYS_TIME + +/* Define to the appropriate snprintf format for unsigned 64-bit ints, if any. + */ +#undef UINT64_FORMAT + +/* Define to 1 to build with assertion checks. (--enable-cassert) */ +#undef USE_ASSERT_CHECKING + +/* Define to 1 to build with Bonjour support. (--with-bonjour) */ +#undef USE_BONJOUR + +/* Define to 1 if you want 64-bit integer timestamp and interval support. + (--enable-integer-datetimes) */ +#undef USE_INTEGER_DATETIMES + +/* Define to 1 to build with LDAP support. (--with-ldap) */ +#undef USE_LDAP + +/* Define to select named POSIX semaphores. */ +#undef USE_NAMED_POSIX_SEMAPHORES + +/* Define to 1 to build with PAM support. (--with-pam) */ +#undef USE_PAM -#endif /* PG_CONFIG_H */ +/* Use replacement snprintf() functions. */ +#undef USE_REPL_SNPRINTF + +/* Define to build with (Open)SSL support. (--with-openssl) */ +#undef USE_SSL + +/* Define to select SysV-style semaphores. */ +#undef USE_SYSV_SEMAPHORES + +/* Define to select SysV-style shared memory. */ +#undef USE_SYSV_SHARED_MEMORY + +/* Define to select unnamed POSIX semaphores. */ +#undef USE_UNNAMED_POSIX_SEMAPHORES + +/* Define to select Win32-style semaphores. */ +#undef USE_WIN32_SEMAPHORES + +/* Number of bits in a file offset, on hosts where this is settable. */ +#undef _FILE_OFFSET_BITS + +/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */ +#undef _LARGEFILE_SOURCE + +/* Define for large files, on AIX-style hosts. */ +#undef _LARGE_FILES + +/* Define to empty if `const' does not conform to ANSI C. */ +#undef const + +/* Define as `__inline' if that's what the C compiler calls it, or to nothing + if it is not supported. */ +#undef inline + +/* Define to empty if the C compiler does not understand signed types. */ +#undef signed + +/* Define to empty if the keyword `volatile' does not work. Warning: valid + code using `volatile' can become incorrect without. Disable with care. */ +#undef volatile