PostgreSQL Source Code
git master
joininfo.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* joininfo.h
4
* prototypes for joininfo.c.
5
*
6
*
7
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
9
*
10
* src/include/optimizer/joininfo.h
11
*
12
*-------------------------------------------------------------------------
13
*/
14
#ifndef JOININFO_H
15
#define JOININFO_H
16
17
#include "
nodes/pathnodes.h
"
18
19
20
extern
bool
have_relevant_joinclause
(
PlannerInfo
*
root
,
21
RelOptInfo
*rel1,
RelOptInfo
*rel2);
22
23
extern
void
add_join_clause_to_rels
(
PlannerInfo
*
root
,
24
RestrictInfo
*restrictinfo,
25
Relids
join_relids);
26
extern
void
remove_join_clause_from_rels
(
PlannerInfo
*
root
,
27
RestrictInfo
*restrictinfo,
28
Relids
join_relids);
29
30
#endif
/* JOININFO_H */
remove_join_clause_from_rels
void remove_join_clause_from_rels(PlannerInfo *root, RestrictInfo *restrictinfo, Relids join_relids)
Definition:
joininfo.c:161
add_join_clause_to_rels
void add_join_clause_to_rels(PlannerInfo *root, RestrictInfo *restrictinfo, Relids join_relids)
Definition:
joininfo.c:98
have_relevant_joinclause
bool have_relevant_joinclause(PlannerInfo *root, RelOptInfo *rel1, RelOptInfo *rel2)
Definition:
joininfo.c:39
pathnodes.h
root
tree ctl root
Definition:
radixtree.h:1857
Bitmapset
Definition:
bitmapset.h:50
PlannerInfo
Definition:
pathnodes.h:196
RelOptInfo
Definition:
pathnodes.h:860
RestrictInfo
Definition:
pathnodes.h:2569
src
include
optimizer
joininfo.h
Generated on Wed Jan 15 2025 12:13:24 for PostgreSQL Source Code by
1.9.4