Fix xslt_process() to ensure that it inserts a NULL terminator after the
[PostgreSQL.git] / src / include / optimizer / subselect.h
blob4550a46210d9e898e92a0ea731a671fd1f0a0ad5
1 /*-------------------------------------------------------------------------
3 * subselect.h
5 * Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
6 * Portions Copyright (c) 1994, Regents of the University of California
8 * $PostgreSQL$
10 *-------------------------------------------------------------------------
12 #ifndef SUBSELECT_H
13 #define SUBSELECT_H
15 #include "nodes/plannodes.h"
16 #include "nodes/relation.h"
18 extern void SS_process_ctes(PlannerInfo *root);
19 extern JoinExpr *convert_ANY_sublink_to_join(PlannerInfo *root,
20 SubLink *sublink,
21 Relids available_rels);
22 extern JoinExpr *convert_EXISTS_sublink_to_join(PlannerInfo *root,
23 SubLink *sublink,
24 bool under_not,
25 Relids available_rels);
26 extern Node *SS_replace_correlation_vars(PlannerInfo *root, Node *expr);
27 extern Node *SS_process_sublinks(PlannerInfo *root, Node *expr, bool isQual);
28 extern void SS_finalize_plan(PlannerInfo *root, Plan *plan,
29 bool attach_initplans);
30 extern Param *SS_make_initplan_from_plan(PlannerInfo *root, Plan *plan,
31 Oid resulttype, int32 resulttypmod);
32 extern int SS_assign_worktable_param(PlannerInfo *root);
34 #endif /* SUBSELECT_H */