]> granicus.if.org Git - postgresql/blob - src/include/pg_config.h.in
Remove --enable-unicode-conversion
[postgresql] / src / include / pg_config.h.in
1 /*
2  * PostgreSQL configuration-settings file.
3  *
4  * pg_config.h.in is processed by configure to produce pg_config.h.
5  *
6  * If you want to modify any of the tweakable settings in Part 2
7  * of this file, you can do it in pg_config.h.in before running configure,
8  * or in pg_config.h afterwards.  Of course, if you edit pg_config.h, then your
9  * changes will be overwritten the next time you run configure.
10  *
11  * $Id: pg_config.h.in,v 1.6 2001/09/14 10:36:52 ishii Exp $
12  */
13
14 #ifndef PG_CONFIG_H
15 #define PG_CONFIG_H
16
17
18 /*
19  *------------------------------------------------------------------------
20  * Part 1: feature symbols and limits that are set by configure based on
21  * user-supplied switches.  This is first so that stuff in Part 2 can
22  * depend on these values.
23  *
24  * Beware of "fixing" configure-time mistakes by editing these values,
25  * since configure may have inserted the settings in other files as well
26  * as here.  Best to rerun configure if you forgot --enable-multibyte
27  * or whatever.
28  *------------------------------------------------------------------------
29  */
30
31 /* The version number is actually hard-coded into configure.in */
32 #undef PG_VERSION
33 /* A canonical string containing the version number, platform, and C compiler */
34 #undef PG_VERSION_STR
35
36 /* Set to 1 if you want LOCALE support (--enable-locale) */
37 #undef USE_LOCALE
38
39 /* Set to 1 if you want cyrillic recode (--enable-recode) */
40 #undef CYR_RECODE
41
42 /* Set to 1 if you want to use multibyte characters (--enable-multibyte) */
43 #undef MULTIBYTE
44
45 #ifdef MULTIBYTE
46 /* --enable-multibyte implies UNICODE_CONVERSION */
47 #define UNICODE_CONVERSION
48 #endif
49
50 /* Set to 1 if you want ASSERT checking (--enable-cassert) */
51 #undef USE_ASSERT_CHECKING
52
53 /* Set to 1 to use syslog() to write postmaster log (--enable-syslog) */
54 #undef ENABLE_SYSLOG
55
56 /* Define to build with Kerberos 4 support (--with-krb4[=DIR]) */
57 #undef KRB4
58
59 /* Define to build with Kerberos 5 support (--with-krb5[=DIR]) */
60 #undef KRB5
61
62 /* Kerberos name of the Postgres service principal (--with-krb-srvnam=NAME) */
63 #undef PG_KRB_SRVNAM
64
65 /* Define to build with (Open)SSL support (--with-openssl[=DIR]) */
66 #undef USE_SSL
67
68 /* Define to build with PAM Support */
69 #undef USE_PAM
70
71 /* 
72  * DEF_PGPORT is the TCP port number on which the Postmaster listens and
73  * which clients will try to connect to.  This is just a default value;
74  * it can be overridden at postmaster or client startup.  It's awfully
75  * convenient if your clients have the right default compiled in, though.
76  * (--with-pgport=PORTNUM)
77  */ 
78 #undef DEF_PGPORT
79 /* ... and once more as a string constant instead */
80 #undef DEF_PGPORT_STR
81
82 /*
83  * Default soft limit on number of backend server processes per postmaster;
84  * this is just the default setting for the postmaster's -N switch.
85  * (--with-maxbackends=N)
86  */
87 #undef DEF_MAXBACKENDS
88
89 /* --enable-pltcl-unknown */
90 #undef ENABLE_PLTCL_UNKNOWN
91
92 /* --enable-pltcl-utf */
93 #undef ENABLE_PLTCL_UTF
94
95 /* --enable-nls */
96 #undef ENABLE_NLS
97
98 /* location of locale files */
99 #undef LOCALEDIR
100
101 /*
102  *------------------------------------------------------------------------
103  * Part 2: feature symbols and limits that are user-configurable, but
104  * only by editing this file ... there's no configure support for them.
105  *
106  * Editing this file and doing a full rebuild (and an initdb if noted)
107  * should be sufficient to change any of these.
108  *------------------------------------------------------------------------
109  */
110
111 /*
112  * Default number of buffers in shared buffer pool (each of size BLCKSZ).
113  * This is just the default setting for the postmaster's -B switch.
114  * Perhaps it ought to be configurable from a configure switch.
115  * NOTE: default setting corresponds to the minimum number of buffers
116  * that postmaster.c will allow for the default MaxBackends value.
117  */
118 #define DEF_NBUFFERS (DEF_MAXBACKENDS > 8 ? DEF_MAXBACKENDS * 2 : 16)
119
120 /*
121  * Size of a disk block --- this also limits the size of a tuple.
122  * You can set it bigger if you need bigger tuples (although TOAST
123  * should reduce the need to have large tuples, since fields can now
124  * be spread across multiple tuples).
125  *
126  * The maximum possible value of BLCKSZ is currently 2^15 (32768).
127  * This is determined by the 15-bit widths of the lp_off and lp_len
128  * fields in ItemIdData (see include/storage/itemid.h).
129  *
130  * CAUTION: changing BLCKSZ requires an initdb.
131  */
132 #define BLCKSZ  8192
133
134 /*
135  * RELSEG_SIZE is the maximum number of blocks allowed in one disk file.
136  * Thus, the maximum size of a single file is RELSEG_SIZE * BLCKSZ;
137  * relations bigger than that are divided into multiple files.
138  *
139  * CAUTION: RELSEG_SIZE * BLCKSZ must be less than your OS' limit on file
140  * size.  This is typically 2Gb or 4Gb in a 32-bit operating system.  By
141  * default, we make the limit 1Gb to avoid any possible integer-overflow
142  * problems within the OS.  A limit smaller than necessary only means we
143  * divide a large relation into more chunks than necessary, so it seems
144  * best to err in the direction of a small limit.  (Besides, a power-of-2
145  * value saves a few cycles in md.c.)
146  *
147  * CAUTION: changing RELSEG_SIZE requires an initdb.
148  */
149 #define RELSEG_SIZE     (0x40000000 / BLCKSZ)
150
151 /*
152  * Maximum number of columns in an index and maximum number of arguments
153  * to a function. They must be the same value.
154  *
155  * The minimum value is 8 (index creation uses 8-argument functions).
156  * There is no specific upper limit, although large values will waste
157  * system-table space and processing time.
158  *
159  * CAUTION: changing these requires an initdb.
160  *
161  * BTW: if you need to call dynamically-loaded old-style C functions that
162  * have more than 16 arguments, you will also need to add cases to the
163  * switch statement in fmgr_oldstyle() in src/backend/utils/fmgr/fmgr.c.
164  * But consider converting such functions to new-style instead...
165  */
166 #define INDEX_MAX_KEYS          16
167 #define FUNC_MAX_ARGS           INDEX_MAX_KEYS
168
169 /*
170  * System default value for pg_attribute.attstattarget
171  */
172 #define DEFAULT_ATTSTATTARGET   10
173
174 /*
175  * Define this to make libpgtcl's "pg_result -assign" command process C-style
176  * backslash sequences in returned tuple data and convert Postgres array
177  * attributes into Tcl lists.  CAUTION: this conversion is *wrong* unless
178  * you install the routines in contrib/string/string_io to make the backend
179  * produce C-style backslash sequences in the first place.
180  */
181 /* #define TCL_ARRAYS */
182
183 /*
184  * User locks are handled totally on the application side as long term
185  * cooperative locks which extend beyond the normal transaction boundaries.
186  * Their purpose is to indicate to an application that someone is `working'
187  * on an item.  Define this flag to enable user locks.  You will need the
188  * loadable module user-locks.c to use this feature.
189  */
190 #define USER_LOCKS
191
192 /*
193  * Define this if you want psql to _always_ ask for a username and a password
194  * for password authentication.
195  */
196 /* #define PSQL_ALWAYS_GET_PASSWORDS */
197
198 /*
199  * Define this if you want to allow the lo_import and lo_export SQL functions
200  * to be executed by ordinary users.  By default these functions are only
201  * available to the Postgres superuser.  CAUTION: these functions are
202  * SECURITY HOLES since they can read and write any file that the Postgres
203  * backend has permission to access.  If you turn this on, don't say we
204  * didn't warn you.
205  */
206 /* #define ALLOW_DANGEROUS_LO_FUNCTIONS */
207
208 /*
209  * Use btree bulkload code: 
210  * this code is moderately slow (~10% slower) compared to the regular
211  * btree (insertion) build code on sorted or well-clustered data.  on
212  * random data, however, the insertion build code is unusable -- the
213  * difference on a 60MB heap is a factor of 15 because the random
214  * probes into the btree thrash the buffer pool.
215  *
216  * Great thanks to Paul M. Aoki (aoki@CS.Berkeley.EDU)
217  */
218 #define FASTBUILD /* access/nbtree/nbtsort.c */
219
220 /*
221  * MAXPGPATH: standard size of a pathname buffer in Postgres (hence,
222  * maximum usable pathname length is one less).
223  *
224  * We'd use a standard system header symbol for this, if there weren't
225  * so many to choose from: MAXPATHLEN, _POSIX_PATH_MAX, MAX_PATH, PATH_MAX
226  * are all defined by different "standards", and often have different
227  * values on the same platform!  So we just punt and use a reasonably
228  * generous setting here.
229  */
230 #define MAXPGPATH               1024
231
232 /*
233  * DEFAULT_MAX_EXPR_DEPTH: default value of max_expr_depth SET variable.
234  */
235 #define DEFAULT_MAX_EXPR_DEPTH  10000
236
237 /*
238  * PG_SOMAXCONN: maximum accept-queue length limit passed to listen(2).
239  * You'd think we should use SOMAXCONN from <sys/socket.h>, but on many
240  * systems that symbol is much smaller than the kernel's actual limit.
241  * In any case, this symbol need be twiddled only if you have a kernel
242  * that refuses large limit values, rather than silently reducing the
243  * value to what it can handle (which is what most if not all Unixen do).
244  */
245 #define PG_SOMAXCONN    10000
246
247 /*
248  * You can try changing this if you have a machine with bytes of another
249  * size, but no guarantee...
250  */
251 #define BITS_PER_BYTE           8
252
253 /*
254  * Define this if your operating system supports AF_UNIX family sockets.
255  */
256 #if !defined(__QNX__) && !defined(__BEOS__)
257 # define HAVE_UNIX_SOCKETS 1
258 #endif
259
260 /*
261  * This is the default directory in which AF_UNIX socket files are placed.
262  * Caution: changing this risks breaking your existing client applications,
263  * which are likely to continue to look in the old directory.  But if you
264  * just hate the idea of sockets in /tmp, here's where to twiddle it.
265  * You can also override this at runtime with the postmaster's -k switch.
266  */
267 #define DEFAULT_PGSOCKET_DIR  "/tmp"
268
269
270 /*
271  *------------------------------------------------------------------------
272  * These hand-configurable symbols are for enabling debugging code,
273  * not for controlling user-visible features or resource limits.
274  *------------------------------------------------------------------------
275  */
276
277 /* Define this to cause pfree()'d memory to be cleared immediately,
278  * to facilitate catching bugs that refer to already-freed values.
279  * XXX For 7.1 development, define this automatically if --enable-cassert.
280  * In the long term it probably doesn't need to be on by default.
281  */
282 #ifdef USE_ASSERT_CHECKING
283 #define CLOBBER_FREED_MEMORY
284 #endif
285
286 /* Define this to check memory allocation errors (scribbling on more
287  * bytes than were allocated).
288  * XXX For 7.1 development, define this automatically if --enable-cassert.
289  * In the long term it probably doesn't need to be on by default.
290  */
291 #ifdef USE_ASSERT_CHECKING 
292 #define MEMORY_CONTEXT_CHECKING
293 #endif
294
295 /* Define this to force all parse and plan trees to be passed through
296  * copyObject(), to facilitate catching errors and omissions in copyObject().
297  */
298 /* #define COPY_PARSE_PLAN_TREES */
299
300 /* Enable debugging print statements in the date/time support routines. */
301 /* #define DATEDEBUG */
302
303 /* Enable debugging print statements for lock-related operations. */
304 /* #define LOCK_DEBUG */
305
306 /*
307  * Other debug #defines (documentation, anyone?)
308  */
309 /* #define IPORTAL_DEBUG  */
310 /* #define HEAPDEBUGALL  */
311 /* #define ISTRATDEBUG  */
312 /* #define ACLDEBUG */
313 /* #define RTDEBUG */
314 /* #define GISTDEBUG */
315
316 /*
317  * defining unsafe floats will make float4 and float8 ops faster
318  * by suppressing overflow/underflow checks.
319  */
320 /* #define UNSAFE_FLOATS */
321
322
323 /*
324  *------------------------------------------------------------------------
325  * Part 3: system configuration information that is auto-detected by
326  * configure.  In theory you shouldn't have to touch any of this stuff
327  * by hand.  In the real world, configure might get it wrong...
328  *------------------------------------------------------------------------
329  */
330
331 /* Define const as empty if your compiler doesn't grok const. */
332 #undef const
333
334 /* Define as your compiler's spelling of "inline", or empty if no inline. */
335 #undef inline
336
337 /* Define as empty if the C compiler doesn't understand "signed". */
338 #undef signed
339
340 /* Define as empty if the C compiler doesn't understand "volatile". */
341 #undef volatile
342
343 /* Define if your cpp understands the ANSI stringizing operators in macros */
344 #undef HAVE_STRINGIZE
345
346 /* Set to 1 if you have <crypt.h> */
347 #undef HAVE_CRYPT_H
348
349 /* Set to 1 if you have <dld.h> */
350 #undef HAVE_DLD_H
351
352 /* Set to 1 if you have <endian.h> */
353 #undef HAVE_ENDIAN_H
354
355 /* Set to 1 if you have <fp_class.h> */
356 #undef HAVE_FP_CLASS_H
357
358 /* Set to 1 if you have <getopt.h> */
359 #undef HAVE_GETOPT_H
360
361 /* Set to 1 if you have <history.h> */
362 #undef HAVE_HISTORY_H
363
364 /* Set to 1 if you have <ieeefp.h> */
365 #undef HAVE_IEEEFP_H
366
367 /* Set to 1 if you have <netinet/tcp.h> */
368 #undef HAVE_NETINET_TCP_H
369
370 /* Set to 1 if you have <readline.h> */
371 #undef HAVE_READLINE_H
372
373 /* Set to 1 if you have <readline/history.h> */
374 #undef HAVE_READLINE_HISTORY_H
375
376 /* Set to 1 if you have <readline/readline.h> */
377 #undef HAVE_READLINE_READLINE_H
378
379 /* Set to 1 if you have <sys/ipc.h> */
380 #undef HAVE_SYS_IPC_H
381
382 /* Set to 1 if  you have <sys/select.h> */
383 #undef HAVE_SYS_SELECT_H
384
385 /* Set to 1 if you have <sys/un.h> */
386 #undef HAVE_SYS_UN_H
387
388 /* Set to 1 if you have <sys/sem.h> */
389 #undef HAVE_SYS_SEM_H
390
391 /* Set to 1 if you have <sys/shm.h> */
392 #undef HAVE_SYS_SHM_H
393
394 /* Set to 1 if you have <kernel/OS.h> */
395 #undef HAVE_KERNEL_OS_H
396
397 /* Set to 1 if you have <SupportDefs.h> */
398 #undef HAVE_SUPPORTDEFS_H
399
400 /* Set to 1 if you have <kernel/image.h> */
401 #undef HAVE_KERNEL_IMAGE_H
402
403 /* Set to 1 if you have <termios.h> */
404 #undef HAVE_TERMIOS_H
405
406 /* Set to 1 if you have <sys/pstat.h> */
407 #undef HAVE_SYS_PSTAT_H
408
409 /* Define if string.h and strings.h may both be included */
410 #undef STRING_H_WITH_STRINGS_H
411
412 /* Define if you have the setproctitle function.  */
413 #undef HAVE_SETPROCTITLE
414
415 /* Define if you have the pstat function. */
416 #undef HAVE_PSTAT
417
418 /* Define if the PS_STRINGS thing exists. */
419 #undef HAVE_PS_STRINGS
420
421 /* Define if you have the stricmp function.  */
422 #undef HAVE_STRICMP
423
424 /* Set to 1 if you have history functions (either in libhistory or libreadline) */
425 #undef HAVE_HISTORY_FUNCTIONS
426
427 /* Set to 1 if you have <pwd.h> */
428 #undef HAVE_PWD_H
429
430 /* Set to 1 if you have gettimeofday(a) instead of gettimeofday(a,b) */
431 #undef GETTIMEOFDAY_1ARG
432 #ifdef GETTIMEOFDAY_1ARG
433 # define gettimeofday(a,b) gettimeofday(a)
434 #endif
435
436 /* Set to 1 if you have snprintf() in the C library */
437 #undef HAVE_SNPRINTF
438
439 /* Set to 1 if your standard system headers declare snprintf() */
440 #undef HAVE_SNPRINTF_DECL
441
442 /* Set to 1 if you have vsnprintf() in the C library */
443 #undef HAVE_VSNPRINTF
444
445 /* Set to 1 if your standard system headers declare vsnprintf() */
446 #undef HAVE_VSNPRINTF_DECL
447
448 /* Set to 1 if you have strerror() */
449 #undef HAVE_STRERROR
450
451 /* Set to 1 if you have isinf() */
452 #undef HAVE_ISINF
453 #ifndef HAVE_ISINF
454 extern int isinf(double x);
455 #endif
456
457 /*
458  *      These are all related to port/isinf.c 
459  */
460 #undef HAVE_FPCLASS
461 #undef HAVE_FP_CLASS
462 #undef HAVE_FP_CLASS_H
463 #undef HAVE_FP_CLASS_D
464 #undef HAVE_CLASS
465
466 /* Set to 1 if you have gethostname() */
467 #undef HAVE_GETHOSTNAME
468 #ifndef HAVE_GETHOSTNAME
469 extern int gethostname(char *name, int namelen);
470 #endif
471
472 /* Set to 1 if struct tm has a tm_zone member */
473 #undef HAVE_TM_ZONE
474
475 /* Set to 1 if you have int timezone.
476  * NOTE: if both tm_zone and a global timezone variable exist,
477  * using the tm_zone field should probably be preferred,
478  * since global variables are inherently not thread-safe.
479  */
480 #undef HAVE_INT_TIMEZONE
481
482 /* Set to 1 if you have cbrt() */
483 #undef HAVE_CBRT
484
485 /* Set to 1 if you have inet_aton() */
486 #undef HAVE_INET_ATON
487
488 #ifndef HAVE_INET_ATON
489 # include <sys/types.h>
490 # include <netinet/in.h>
491 # include <arpa/inet.h>
492 extern int inet_aton(const char *cp, struct in_addr * addr);
493 #endif
494
495 /* Set to 1 if you have fcvt() */
496 #undef HAVE_FCVT
497
498 /* Set to 1 if you have rint() */
499 #undef HAVE_RINT 
500
501 /* Set to 1 if you have finite() */
502 #undef HAVE_FINITE
503
504 /* Set to 1 if you have memmove() */
505 #undef HAVE_MEMMOVE
506
507 /* Set to 1 if you have sigsetjmp() */
508 #undef HAVE_SIGSETJMP
509
510 /*
511  * When there is no sigsetjmp, its functionality is provided by plain
512  * setjmp. Incidentally, nothing provides setjmp's functionality in
513  * that case.
514  */
515 #ifndef HAVE_SIGSETJMP
516 # define sigjmp_buf jmp_buf
517 # define sigsetjmp(x,y) setjmp(x)
518 # define siglongjmp longjmp
519 #endif
520
521 /* Set to 1 if you have sysconf() */
522 #undef HAVE_SYSCONF
523
524 /* Set to 1 if you have getrusage() */
525 #undef HAVE_GETRUSAGE
526
527 /* Set to 1 if you have waitpid() */
528 #undef HAVE_WAITPID
529
530 /* Set to 1 if you have setsid() */
531 #undef HAVE_SETSID
532
533 /* Set to 1 if you have sigprocmask() */
534 #undef HAVE_SIGPROCMASK
535
536 /* Set to 1 if you have sigprocmask() */
537 #undef HAVE_STRCASECMP
538 #ifndef HAVE_STRCASECMP
539 extern int strcasecmp(char *s1, char *s2);
540 #endif
541
542 /* Set to 1 if you have strtol() */
543 #undef HAVE_STRTOL
544
545 /* Set to 1 if you have strtoul() */
546 #undef HAVE_STRTOUL
547
548 /* Set to 1 if you have strdup() */
549 #undef HAVE_STRDUP
550 #ifndef HAVE_STRDUP
551 extern char *strdup(char const *);
552 #endif
553
554 /* Set to 1 if you have random() */
555 #undef HAVE_RANDOM
556 #ifndef HAVE_RANDOM
557 extern long random(void);
558 #endif
559
560 /* Set to 1 if you have srandom() */
561 #undef HAVE_SRANDOM
562 #ifndef HAVE_SRANDOM
563 extern void srandom(unsigned int seed);
564 #endif
565
566 /* The random() function is expected to yield values 0 .. MAX_RANDOM_VALUE */
567 /* Currently, all known implementations yield 0..2^31-1, so we just hardwire
568  * this constant.  We could do a configure test if it proves to be necessary.
569  * CAUTION: Think not to replace this with RAND_MAX.  RAND_MAX defines the
570  * maximum value of the older rand() function, which is often different from
571  * --- and considerably inferior to --- random().
572  */
573 #define MAX_RANDOM_VALUE  (0x7FFFFFFF)
574
575 /* Define if you have dlopen() */
576 #undef HAVE_DLOPEN
577
578 /* Define if you have fdatasync() */
579 #undef HAVE_FDATASYNC
580
581 /* Define if the standard header unistd.h declares fdatasync() */
582 #undef HAVE_FDATASYNC_DECL
583
584 #if defined(HAVE_FDATASYNC) && !defined(HAVE_FDATASYNC_DECL)
585 extern int fdatasync(int fildes);
586 #endif
587
588 /* Set to 1 if you have libz.a */
589 #undef HAVE_LIBZ
590
591 /* Set to 1 if you have libreadline.a */
592 #undef HAVE_LIBREADLINE
593
594 /* Set to 1 if you have libhistory.a */
595 #undef HAVE_LIBHISTORY
596
597 /* Set to 1 if your libreadline defines rl_completion_append_character */
598 #undef HAVE_RL_COMPLETION_APPEND_CHARACTER
599
600 /* Set to 1 if you have rl_completion_matches */
601 #undef HAVE_RL_COMPLETION_MATCHES
602
603 /* Set to 1 if you have rl_filename_completion_function */
604 #undef HAVE_RL_FILENAME_COMPLETION_FUNCTION
605
606 /* Set to 1 if you have getopt_long() (GNU long options) */
607 #undef HAVE_GETOPT_LONG
608
609 /* Set to 1 if you have union semun */
610 #undef HAVE_UNION_SEMUN
611
612 /* Set to 1 if you have struct cmsgcred */
613 #undef HAVE_STRUCT_CMSGCRED
614
615 /* Set to 1 if you have struct fcred */
616 #undef HAVE_STRUCT_FCRED
617
618 /* Set to 1 if you have struct sockcred */
619 #undef HAVE_STRUCT_SOCKCRED
620
621 /* Set to 1 if you have struct sockaddr_un */
622 #undef HAVE_STRUCT_SOCKADDR_UN
623
624 /* Set to 1 if type "long int" works and is 64 bits */
625 #undef HAVE_LONG_INT_64
626
627 /* Set to 1 if type "long long int" works and is 64 bits */
628 #undef HAVE_LONG_LONG_INT_64
629
630 /* Set to 1 if type "long long int" constants should be suffixed by LL */
631 #undef HAVE_LL_CONSTANTS
632
633 /* Define this as the appropriate snprintf format for 64-bit ints, if any */
634 #undef INT64_FORMAT
635
636 /*
637  * We need a #define symbol for sizeof(Datum) for use in some #if tests.
638  */
639 #undef SIZEOF_DATUM
640
641 /*
642  * These must be defined as the alignment requirement (NOT the size) of
643  * each of the basic C data types (except char, which we assume has align 1).
644  * MAXIMUM_ALIGNOF is the largest alignment requirement for any C data type.
645  * ALIGNOF_LONG_LONG_INT need only be defined if HAVE_LONG_LONG_INT_64 is.
646  */
647 #undef ALIGNOF_SHORT
648 #undef ALIGNOF_INT
649 #undef ALIGNOF_LONG
650 #undef ALIGNOF_LONG_LONG_INT
651 #undef ALIGNOF_DOUBLE
652 #undef MAXIMUM_ALIGNOF
653
654 /* Define as the type of the 3rd argument to accept() */
655 #undef ACCEPT_TYPE_ARG3
656
657 /* Define if POSIX signal interface is available */
658 #undef HAVE_POSIX_SIGNALS
659
660 /* Define if C++ compiler accepts "using namespace std" */
661 #undef HAVE_NAMESPACE_STD
662
663 /* Define if C++ compiler accepts "#include <string>" */
664 #undef HAVE_CXX_STRING_HEADER
665
666 /* Define if you have the optreset variable */
667 #undef HAVE_INT_OPTRESET
668
669 /* Define if you have strtoll() */
670 #undef HAVE_STRTOLL
671
672 /* Define if you have strtoq() */
673 #undef HAVE_STRTOQ
674
675 /* If strtoq() exists, rename it to the more standard strtoll() */
676 #if defined(HAVE_LONG_LONG_INT_64) && !defined(HAVE_STRTOLL) && defined(HAVE_STRTOQ)
677 # define strtoll strtoq
678 # define HAVE_STRTOLL 1
679 #endif
680
681 /* Define if you have strtoull() */
682 #undef HAVE_STRTOULL
683
684 /* Define if you have strtouq() */
685 #undef HAVE_STRTOUQ
686
687 /* If strtouq() exists, rename it to the more standard strtoull() */
688 #if defined(HAVE_LONG_LONG_INT_64) && !defined(HAVE_STRTOULL) && defined(HAVE_STRTOUQ)
689 # define strtoull strtouq
690 # define HAVE_STRTOULL 1
691 #endif
692
693 /* Define if you have atexit() */
694 #undef HAVE_ATEXIT
695
696 /* Define if you have on_exit() */
697 #undef HAVE_ON_EXIT
698
699 /*
700  *------------------------------------------------------------------------
701  * Part 4: pull in system-specific declarations.
702  *
703  * This is still configure's responsibility, because it picks where
704  * the "pg_config_os.h" symlink points...
705  *------------------------------------------------------------------------
706  */
707
708 /*
709  * Pull in OS-specific declarations (using link created by configure)
710  */
711
712 #include "pg_config_os.h"
713
714 /*
715  * The following is used as the arg list for signal handlers.  Any ports
716  * that take something other than an int argument should override this in
717  * the port-specific pg_config_os.h file.  Note that variable names are required
718  * because it is used in both the prototypes as well as the definitions.
719  * Note also the long name.  We expect that this won't collide with
720  * other names causing compiler warnings.
721  */ 
722
723 #ifndef SIGNAL_ARGS
724 #define SIGNAL_ARGS  int postgres_signal_arg
725 #endif
726
727
728 #endif /* PG_CONFIG_H */