]> granicus.if.org Git - postgresql/blob - src/include/optimizer/subselect.h
150eaaf002d65f06e610cb8465b8205f0a239319
[postgresql] / src / include / optimizer / subselect.h
1 /*-------------------------------------------------------------------------
2  *
3  * subselect.h
4  *
5  * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
6  * Portions Copyright (c) 1994, Regents of the University of California
7  *
8  * $PostgreSQL: pgsql/src/include/optimizer/subselect.h,v 1.30 2008/01/01 19:45:58 momjian Exp $
9  *
10  *-------------------------------------------------------------------------
11  */
12 #ifndef SUBSELECT_H
13 #define SUBSELECT_H
14
15 #include "nodes/plannodes.h"
16 #include "nodes/relation.h"
17
18 extern Node *convert_IN_to_join(PlannerInfo *root, SubLink *sublink);
19 extern Node *SS_replace_correlation_vars(PlannerInfo *root, Node *expr);
20 extern Node *SS_process_sublinks(PlannerInfo *root, Node *expr, bool isQual);
21 extern void SS_finalize_plan(PlannerInfo *root, Plan *plan);
22 extern Param *SS_make_initplan_from_plan(PlannerInfo *root, Plan *plan,
23                                                    Oid resulttype, int32 resulttypmod);
24
25 #endif   /* SUBSELECT_H */