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