PostgreSQL Source Code  git master
print.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * print.h
4  * definitions for nodes/print.c
5  *
6  *
7  * Portions Copyright (c) 1996-2024, 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 
22 extern void print(const void *obj);
23 extern void pprint(const void *obj);
24 extern void elog_node_display(int lev, const char *title,
25  const void *obj, bool pretty);
26 extern char *format_node_dump(const char *dump);
27 extern char *pretty_format_node_dump(const char *dump);
28 extern void print_rt(const List *rtable);
29 extern void print_expr(const Node *expr, const List *rtable);
30 extern void print_pathkeys(const List *pathkeys, const List *rtable);
31 extern void print_tl(const List *tlist, const List *rtable);
32 extern void print_slot(TupleTableSlot *slot);
33 
34 #endif /* PRINT_H */
char * pretty_format_node_dump(const char *dump)
Definition: print.c:151
void pprint(const void *obj)
Definition: print.c:54
void print_pathkeys(const List *pathkeys, const List *rtable)
Definition: print.c:426
void print_rt(const List *rtable)
Definition: print.c:254
void print_slot(TupleTableSlot *slot)
Definition: print.c:492
void print(const void *obj)
Definition: print.c:36
void elog_node_display(int lev, const char *title, const void *obj, bool pretty)
Definition: print.c:72
char * format_node_dump(const char *dump)
Definition: print.c:97
void print_tl(const List *tlist, const List *rtable)
Definition: print.c:466
void print_expr(const Node *expr, const List *rtable)
Definition: print.c:321
Definition: pg_list.h:54
Definition: nodes.h:129