print.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*-------------------------------------------------------------------------
  2. *
  3. * print.h
  4. * definitions for nodes/print.c
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2016, 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. #include "executor/tuptable.h"
  17. #define nodeDisplay(x) pprint(x)
  18. extern void print(const void *obj);
  19. extern void pprint(const void *obj);
  20. extern void elog_node_display(int lev, const char *title,
  21. const void *obj, bool pretty);
  22. extern char *format_node_dump(const char *dump);
  23. extern char *pretty_format_node_dump(const char *dump);
  24. extern void print_rt(const List *rtable);
  25. extern void print_expr(const Node *expr, const List *rtable);
  26. extern void print_pathkeys(const List *pathkeys, const List *rtable);
  27. extern void print_tl(const List *tlist, const List *rtable);
  28. extern void print_slot(TupleTableSlot *slot);
  29. #endif /* PRINT_H */