codekingpro/portable-devtools
116k
1/*-------------------------------------------------------------------------2 *3 * joininfo.h4 * prototypes for joininfo.c.5 *6 *7 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group8 * Portions Copyright (c) 1994, Regents of the University of California9 *10 * src/include/optimizer/joininfo.h11 *12 *-------------------------------------------------------------------------13 */14#ifndef JOININFO_H15#define JOININFO_H16 17#include "nodes/pathnodes.h"18 19 20extern bool have_relevant_joinclause(PlannerInfo *root,21 RelOptInfo *rel1, RelOptInfo *rel2);22 23extern void add_join_clause_to_rels(PlannerInfo *root,24 RestrictInfo *restrictinfo,25 Relids join_relids);26extern void remove_join_clause_from_rels(PlannerInfo *root,27 RestrictInfo *restrictinfo,28 Relids join_relids);29 30#endif /* JOININFO_H */31 