1/*-------------------------------------------------------------------------
2 *
3 * print.h
4 * definitions for nodes/print.c
5 *
6 *
7 * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
9 *
10 * src/include/nodes/print.h
11 *
12 *-------------------------------------------------------------------------
13 */
14#ifndef PRINT_H
15#define PRINT_H
16
17#include "executor/tuptable.h"
18
19
20#define nodeDisplay(x) pprint(x)
21
22extern void print(const void *obj);
23extern void pprint(const void *obj);
24extern void elog_node_display(int lev, const char *title,
25 const void *obj, bool pretty);
26extern char *format_node_dump(const char *dump);
27extern char *pretty_format_node_dump(const char *dump);
28extern void print_rt(const List *rtable);
29extern void print_expr(const Node *expr, const List *rtable);
30extern void print_pathkeys(const List *pathkeys, const List *rtable);
31extern void print_tl(const List *tlist, const List *rtable);
32extern void print_slot(TupleTableSlot *slot);
33
34#endif /* PRINT_H */
35