diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-19 18:30:04 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-08-19 18:30:04 +0000 |
commit | 9650830bc82045b32573e52b0843d6a2f56b802a (patch) | |
tree | 9afe0c48788939c9c6a43efac2ccb91dfe79aa3b /src/backend/commands/explain.c | |
parent | 2aaca8e3143e10e1514fceb6654987a1f6b3f4ca (diff) | |
download | postgresql-9650830bc82045b32573e52b0843d6a2f56b802a.tar.gz postgresql-9650830bc82045b32573e52b0843d6a2f56b802a.zip |
Cause the output from debug_print_parse, debug_print_rewritten, and
debug_print_plan to appear at LOG message level, not DEBUG1 as historically.
Make debug_pretty_print default to on. Also, cause plans generated via
EXPLAIN to be subject to debug_print_plan. This is all to make
debug_print_plan a reasonably comfortable substitute for the former behavior
of EXPLAIN VERBOSE.
Diffstat (limited to 'src/backend/commands/explain.c')
-rw-r--r-- | src/backend/commands/explain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c index d0033f43662..81f1dd0c31f 100644 --- a/src/backend/commands/explain.c +++ b/src/backend/commands/explain.c @@ -7,7 +7,7 @@ * Portions Copyright (c) 1994-5, Regents of the University of California * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/commands/explain.c,v 1.177 2008/08/14 18:47:58 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/commands/explain.c,v 1.178 2008/08/19 18:30:04 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -169,7 +169,7 @@ ExplainOneQuery(Query *query, ExplainStmt *stmt, const char *queryString, PlannedStmt *plan; /* plan the query */ - plan = planner(query, 0, params); + plan = pg_plan_query(query, 0, params); /* run it (if needed) and produce output */ ExplainOnePlan(plan, params, stmt, tstate); |