Header And Logo

PostgreSQL
| The world's most advanced open source database.

joininfo.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * joininfo.h
00004  *    prototypes for joininfo.c.
00005  *
00006  *
00007  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00008  * Portions Copyright (c) 1994, Regents of the University of California
00009  *
00010  * src/include/optimizer/joininfo.h
00011  *
00012  *-------------------------------------------------------------------------
00013  */
00014 #ifndef JOININFO_H
00015 #define JOININFO_H
00016 
00017 #include "nodes/relation.h"
00018 
00019 
00020 extern bool have_relevant_joinclause(PlannerInfo *root,
00021                          RelOptInfo *rel1, RelOptInfo *rel2);
00022 
00023 extern void add_join_clause_to_rels(PlannerInfo *root,
00024                         RestrictInfo *restrictinfo,
00025                         Relids join_relids);
00026 extern void remove_join_clause_from_rels(PlannerInfo *root,
00027                              RestrictInfo *restrictinfo,
00028                              Relids join_relids);
00029 
00030 #endif   /* JOININFO_H */