00001 /*------------------------------------------------------------------------- 00002 * 00003 * print.h 00004 * definitions for nodes/print.c 00005 * 00006 * 00007 * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group 00008 * Portions Copyright (c) 1994, Regents of the University of California 00009 * 00010 * src/include/nodes/print.h 00011 * 00012 *------------------------------------------------------------------------- 00013 */ 00014 #ifndef PRINT_H 00015 #define PRINT_H 00016 00017 #include "executor/tuptable.h" 00018 00019 00020 #define nodeDisplay(x) pprint(x) 00021 00022 extern void print(const void *obj); 00023 extern void pprint(const void *obj); 00024 extern void elog_node_display(int lev, const char *title, 00025 const void *obj, bool pretty); 00026 extern char *format_node_dump(const char *dump); 00027 extern char *pretty_format_node_dump(const char *dump); 00028 extern void print_rt(const List *rtable); 00029 extern void print_expr(const Node *expr, const List *rtable); 00030 extern void print_pathkeys(const List *pathkeys, const List *rtable); 00031 extern void print_tl(const List *tlist, const List *rtable); 00032 extern void print_slot(TupleTableSlot *slot); 00033 00034 #endif /* PRINT_H */