summaryrefslogtreecommitdiff
path: root/src/include/nodes/print.h
blob: c9123fdcf3ee3f11a5f387258f2a8385939c76a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*-------------------------------------------------------------------------
 *
 * execnodes.h--
 *    definitions for executor state nodes
 *
 *
 * Copyright (c) 1994, Regents of the University of California
 *
 * $Id: print.h,v 1.1 1996/11/10 03:05:23 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef PRINT_H
#define PRINT_H

#include "nodes/nodes.h"
#include "nodes/plannodes.h"
#include "nodes/parsenodes.h"
#include "nodes/relation.h"
#include "executor/tuptable.h"

extern void print(void *obj);
extern void pprint(void *obj);
extern void print_rt(List *rtable);
extern void print_expr(Node *expr, List *rtable);
extern void print_keys(List *keys, List *rtable);
extern void print_tl(List *tlist, List *rtable);
extern void print_slot(TupleTableSlot *slot);
extern char* plannode_type (Plan* p);
extern void print_plan_recursive (Plan* p, Query *parsetree,
				int indentLevel, char* label);
extern void print_plan (Plan* p, Query* parsetree);

#endif /* PRINT_H */