diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-24 04:31:09 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-03-24 04:31:09 +0000 |
commit | 10d3995057b2ea89e56adb571c1beb2b972d1c6f (patch) | |
tree | c6f7575878aadf8a7a05013bf2e506210ecf890b /src/backend/utils | |
parent | a25b94c080a644a66983bbcf82a4e358aa47b7df (diff) | |
download | postgresql-10d3995057b2ea89e56adb571c1beb2b972d1c6f.tar.gz postgresql-10d3995057b2ea89e56adb571c1beb2b972d1c6f.zip |
EXPLAIN output now comes out as a query result, not a NOTICE message.
Also, fix debug logging of parse/plan trees so that the messages actually
go through elog(), not directly to stdout.
Diffstat (limited to 'src/backend/utils')
-rw-r--r-- | src/backend/utils/misc/guc.c | 8 | ||||
-rw-r--r-- | src/backend/utils/misc/postgresql.conf.sample | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index ee1926a56de..d1f6d2bdb00 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.62 2002/03/06 06:10:27 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.63 2002/03/24 04:31:08 tgl Exp $ * * Copyright 2000 by PostgreSQL Global Development Group * Written by Peter Eisentraut <peter_e@gmx.net>. @@ -82,6 +82,8 @@ bool Show_query_stats = false; /* this is sort of all three above * together */ bool Show_btree_build_stats = false; +bool Explain_pretty_print = true; + bool SQL_inheritance = true; bool Australian_timezones = false; @@ -294,6 +296,10 @@ static struct config_bool #endif { + "explain_pretty_print", PGC_USERSET, PGC_S_DEFAULT, &Explain_pretty_print, true, NULL + }, + + { "stats_start_collector", PGC_POSTMASTER, PGC_S_DEFAULT, &pgstat_collect_startcollector, true, NULL }, { diff --git a/src/backend/utils/misc/postgresql.conf.sample b/src/backend/utils/misc/postgresql.conf.sample index fa1ca8459ee..a40b6ce7fac 100644 --- a/src/backend/utils/misc/postgresql.conf.sample +++ b/src/backend/utils/misc/postgresql.conf.sample @@ -136,6 +136,8 @@ #debug_print_plan = false #debug_pretty_print = false +#explain_pretty_print = true + # requires USE_ASSERT_CHECKING #debug_assertions = true |