| 1 |
/*------------------------------------------------------------------------- |
| 2 |
* |
| 3 |
* print.h |
| 4 |
* definitions for nodes/print.c |
| 5 |
* |
| 6 |
* |
| 7 |
* Portions Copyright (c) 1996-2025, 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 */ |