mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
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.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994-5, Regents of the University of California
|
||||
*
|
||||
* $Id: explain.h,v 1.15 2001/11/05 17:46:33 momjian Exp $
|
||||
* $Id: explain.h,v 1.16 2002/03/24 04:31:09 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -16,6 +16,6 @@
|
||||
#include "nodes/parsenodes.h"
|
||||
#include "tcop/dest.h"
|
||||
|
||||
extern void ExplainQuery(Query *query, bool verbose, bool analyze, CommandDest dest);
|
||||
extern void ExplainQuery(ExplainStmt *stmt, CommandDest dest);
|
||||
|
||||
#endif /* EXPLAIN_H */
|
||||
|
Reference in New Issue
Block a user