1996-11-10 04:06:38 +01:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
*
|
2002-03-24 05:31:09 +01:00
|
|
|
* print.h
|
|
|
|
* definitions for nodes/print.c
|
1996-11-10 04:06:38 +01:00
|
|
|
*
|
|
|
|
*
|
2013-01-01 23:15:01 +01:00
|
|
|
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
|
2000-01-26 06:58:53 +01:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-11-10 04:06:38 +01:00
|
|
|
*
|
2010-09-20 22:08:53 +02:00
|
|
|
* src/include/nodes/print.h
|
1996-11-10 04:06:38 +01:00
|
|
|
*
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
*/
|
|
|
|
#ifndef PRINT_H
|
|
|
|
#define PRINT_H
|
|
|
|
|
2008-06-19 02:46:06 +02:00
|
|
|
#include "executor/tuptable.h"
|
1999-07-15 17:21:54 +02:00
|
|
|
|
2002-03-24 05:31:09 +01:00
|
|
|
|
2002-12-05 16:50:39 +01:00
|
|
|
#define nodeDisplay(x) pprint(x)
|
1996-11-10 04:06:38 +01:00
|
|
|
|
2011-12-07 20:46:56 +01:00
|
|
|
extern void print(const void *obj);
|
|
|
|
extern void pprint(const void *obj);
|
2002-03-24 05:31:09 +01:00
|
|
|
extern void elog_node_display(int lev, const char *title,
|
2011-12-07 20:46:56 +01:00
|
|
|
const void *obj, bool pretty);
|
2002-03-24 05:31:09 +01:00
|
|
|
extern char *format_node_dump(const char *dump);
|
|
|
|
extern char *pretty_format_node_dump(const char *dump);
|
2011-12-07 20:46:56 +01:00
|
|
|
extern void print_rt(const List *rtable);
|
|
|
|
extern void print_expr(const Node *expr, const List *rtable);
|
|
|
|
extern void print_pathkeys(const List *pathkeys, const List *rtable);
|
|
|
|
extern void print_tl(const List *tlist, const List *rtable);
|
1997-09-08 23:56:23 +02:00
|
|
|
extern void print_slot(TupleTableSlot *slot);
|
2001-10-28 07:26:15 +01:00
|
|
|
|
2001-11-05 18:46:40 +01:00
|
|
|
#endif /* PRINT_H */
|