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/tcop/utility.c | |
parent | a25b94c080a644a66983bbcf82a4e358aa47b7df (diff) |
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/tcop/utility.c')
-rw-r--r-- | src/backend/tcop/utility.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index af6b943e349..cfa00e4cb59 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.138 2002/03/22 02:56:35 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/tcop/utility.c,v 1.139 2002/03/24 04:31:08 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -650,11 +650,7 @@ ProcessUtility(Node *parsetree, break; case T_ExplainStmt: - { - ExplainStmt *stmt = (ExplainStmt *) parsetree; - - ExplainQuery(stmt->query, stmt->verbose, stmt->analyze, dest); - } + ExplainQuery((ExplainStmt *) parsetree, dest); break; #ifdef NOT_USED |