mirror of
https://github.com/postgres/postgres.git
synced 2025-11-21 00:42:43 +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:
@@ -1,13 +1,13 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* execnodes.h
|
||||
* definitions for executor state nodes
|
||||
* print.h
|
||||
* definitions for nodes/print.c
|
||||
*
|
||||
*
|
||||
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: print.h,v 1.16 2001/11/05 17:46:34 momjian Exp $
|
||||
* $Id: print.h,v 1.17 2002/03/24 04:31:09 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -17,13 +17,15 @@
|
||||
#include "nodes/parsenodes.h"
|
||||
#include "nodes/plannodes.h"
|
||||
|
||||
/*
|
||||
* nodes/{outfuncs.c,print.c}
|
||||
*/
|
||||
|
||||
#define nodeDisplay pprint
|
||||
|
||||
extern void print(void *obj);
|
||||
extern void pprint(void *obj);
|
||||
extern void elog_node_display(int lev, const char *title,
|
||||
void *obj, bool pretty);
|
||||
extern char *format_node_dump(const char *dump);
|
||||
extern char *pretty_format_node_dump(const char *dump);
|
||||
extern void print_rt(List *rtable);
|
||||
extern void print_expr(Node *expr, List *rtable);
|
||||
extern void print_pathkeys(List *pathkeys, List *rtable);
|
||||
|
||||
Reference in New Issue
Block a user