Skip to content

Commit 079c60a

Browse files
committed
Don't cause --enable-cassert to define COPY_PARSE_PLAN_TREES automatically
anymore. That won't teach us anything new for the rest of this release cycle, so it seems better to keep the --assert environment more like the non-assert environment for beta. I'm going to leave CLOBBER_FREED_MEMORY and MEMORY_CONTEXT_CHECKING turned on by --enable-cassert for now, however.
1 parent 217d156 commit 079c60a

File tree

1 file changed

+22
-16
lines changed

1 file changed

+22
-16
lines changed

src/include/config.h.in

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* or in config.h afterwards. Of course, if you edit config.h, then your
99
* changes will be overwritten the next time you run configure.
1010
*
11-
* $Id: config.h.in,v 1.152 2000/11/30 23:19:04 tgl Exp $
11+
* $Id: config.h.in,v 1.153 2000/12/02 18:16:40 tgl Exp $
1212
*/
1313

1414
#ifndef CONFIG_H
@@ -49,7 +49,6 @@
4949
#undef USE_ASSERT_CHECKING
5050

5151
/* Set to 1 to use syslog() to write postmaster log (--enable-syslog) */
52-
/* (CAUTION: large log entries confuse syslog on many platforms!) */
5352
#undef ENABLE_SYSLOG
5453

5554
/* Define to build with Kerberos 4 support (--with-krb4[=DIR]) */
@@ -227,8 +226,7 @@
227226
#define BITS_PER_BYTE 8
228227

229228
/*
230-
* Define this is your operating system kernel supports AF_UNIX family
231-
* sockets.
229+
* Define this if your operating system supports AF_UNIX family sockets.
232230
*/
233231
#if !defined(__CYGWIN__) && !defined(__QNX__) && !defined(__BEOS__)
234232
# define HAVE_UNIX_SOCKETS 1
@@ -260,40 +258,40 @@
260258
#define CLOBBER_FREED_MEMORY
261259
#endif
262260

263-
/* Define this to check memory leaks
261+
/* Define this to check memory allocation errors (scribbling on more
262+
* bytes than were allocated).
263+
* XXX For 7.1 development, define this automatically if --enable-cassert.
264+
* In the long term it probably doesn't need to be on by default.
264265
*/
265266
#ifdef USE_ASSERT_CHECKING
266267
#define MEMORY_CONTEXT_CHECKING
267268
#endif
268269

269270
/* Define this to force all parse and plan trees to be passed through
270271
* copyObject(), to facilitate catching errors and omissions in copyObject().
271-
* XXX For 7.1 development, define this automatically if --enable-cassert.
272-
* In the long term it probably doesn't need to be on by default.
273272
*/
274-
#ifdef USE_ASSERT_CHECKING
275-
#define COPY_PARSE_PLAN_TREES
276-
#endif
273+
/* #define COPY_PARSE_PLAN_TREES */
277274

278275
/* Enable debugging print statements in the date/time support routines. */
279276
/* #define DATEDEBUG */
280277

278+
/* Enable debugging print statements for lock-related operations. */
279+
/* #define LOCK_DEBUG */
280+
281281
/*
282282
* Other debug #defines (documentation, anyone?)
283283
*/
284284
/* #define IPORTAL_DEBUG */
285285
/* #define HEAPDEBUGALL */
286286
/* #define ISTRATDEBUG */
287-
/* #define FASTBUILD_DEBUG */
288287
/* #define ACLDEBUG */
289288
/* #define RTDEBUG */
290289
/* #define GISTDEBUG */
291290
/* #define OMIT_PARTIAL_INDEX */
292-
/* #define LOCK_DEBUG */
293291

294292
/*
295-
* defining unsafe floats's will make float4 and float8
296-
* ops faster at the cost of safety, of course!
293+
* defining unsafe floats will make float4 and float8 ops faster
294+
* by suppressing overflow/underflow checks.
297295
*/
298296
/* #define UNSAFE_FLOATS */
299297

@@ -405,7 +403,7 @@
405403
/* Set to 1 if you have <pwd.h> */
406404
#undef HAVE_PWD_H
407405

408-
/* Set to 1 if you gettimeofday(a,b) vs gettimeofday(a) */
406+
/* Set to 1 if you have gettimeofday(a) instead of gettimeofday(a,b) */
409407
#undef GETTIMEOFDAY_1ARG
410408
#ifdef GETTIMEOFDAY_1ARG
411409
# define gettimeofday(a,b) gettimeofday(a)
@@ -608,23 +606,31 @@ extern void srandom(unsigned int seed);
608606
/* Define if C++ compiler accepts "#include <string>" */
609607
#undef HAVE_CXX_STRING_HEADER
610608

611-
/* Define if you have the dlopen function */
609+
/* Define if you have dlopen() */
612610
#undef HAVE_DLOPEN
613611

614612
/* Define if you have the optreset variable */
615613
#undef HAVE_INT_OPTRESET
616614

615+
/* Define if you have strtoll() */
617616
#undef HAVE_STRTOLL
617+
618+
/* Define if you have strtoq() */
618619
#undef HAVE_STRTOQ
619620

621+
/* If strtoq() exists, rename it to the more standard strtoll() */
620622
#if defined(HAVE_LONG_LONG_INT_64) && !defined(HAVE_STRTOLL) && defined(HAVE_STRTOQ)
621623
# define strtoll strtoq
622624
# define HAVE_STRTOLL 1
623625
#endif
624626

627+
/* Define if you have strtoull() */
625628
#undef HAVE_STRTOULL
629+
630+
/* Define if you have strtouq() */
626631
#undef HAVE_STRTOUQ
627632

633+
/* If strtouq() exists, rename it to the more standard strtoull() */
628634
#if defined(HAVE_LONG_LONG_INT_64) && !defined(HAVE_STRTOULL) && defined(HAVE_STRTOUQ)
629635
# define strtoull strtouq
630636
# define HAVE_STRTOULL 1

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy