<!--
-$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.17 2000/07/22 14:49:00 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.18 2000/08/11 18:31:06 tgl Exp $
-->
<Chapter Id="runtime">
Turns on various assertion checks. This is a debugging aid. If
you are experiencing strange problems or crashes you might
want to turn this on, as it might expose programming mistakes.
- To use this option, the macro <literal>USE_ASSERT_CHECKING</>
- must be defined when Postgres is built.
+ To use this option, the macro <literal>USE_ASSERT_CHECKING</literal>
+ must be defined when Postgres is built (see the configure option
+ <literal>--enable-cassert</literal>). Note that
+ <literal>DEBUG_ASSERTIONS</literal> defaults to ON if Postgres
+ has been built this way.
</para>
</listitem>
</varlistentry>
* Support for grand unified configuration scheme, including SET
* command, configuration file, and command line options.
*
- * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.7 2000/07/14 15:43:47 thomas Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.8 2000/08/11 18:31:10 tgl Exp $
*
* Copyright 2000 by PostgreSQL Global Development Group
* Debugging options
*/
#ifdef USE_ASSERT_CHECKING
-bool assert_enabled;
+bool assert_enabled = true;
#endif
bool Debug_print_query = false;
bool Debug_print_plan = false;
bool Show_query_stats = false; /* this is sort of all three above together */
bool Show_btree_build_stats = false;
-bool SQL_inheritance;
+bool SQL_inheritance = true;
enum config_type
{"log_pid", PGC_SIGHUP, &Log_pid, false},
#ifdef USE_ASSERT_CHECKING
- {"debug_assertions", PGC_USERSET, &assert_enabled, false},
+ {"debug_assertions", PGC_USERSET, &assert_enabled, true},
#endif
{"debug_print_query", PGC_USERSET, &Debug_print_query, false},