aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-08-11 18:31:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-08-11 18:31:10 +0000
commit7090c3e858562b88cdca4f908b0cf939b9327dc6 (patch)
tree430131e5bf2ffb07f234efdb9da1d24f45eaf2b2 /src
parentb0d5036c7cadb7458d00faffe9b194be8471c84a (diff)
downloadpostgresql-7090c3e858562b88cdca4f908b0cf939b9327dc6.tar.gz
postgresql-7090c3e858562b88cdca4f908b0cf939b9327dc6.zip
Make debug_assertions default to ON, when compiled in at all, for
backwards compatibility with old behavior.
Diffstat (limited to 'src')
-rw-r--r--src/backend/utils/misc/guc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c
index c7a48241d00..69360cc80af 100644
--- a/src/backend/utils/misc/guc.c
+++ b/src/backend/utils/misc/guc.c
@@ -4,7 +4,7 @@
* 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
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -38,7 +38,7 @@ extern bool Log_connections;
* Debugging options
*/
#ifdef USE_ASSERT_CHECKING
-bool assert_enabled;
+bool assert_enabled = true;
#endif
bool Debug_print_query = false;
bool Debug_print_plan = false;
@@ -52,7 +52,7 @@ bool Show_executor_stats = 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
@@ -161,7 +161,7 @@ ConfigureNamesBool[] =
{"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},