1996-07-09 02:22:35 -04:00
|
|
|
/*-------------------------------------------------------------------------
|
|
|
|
|
*
|
1999-02-13 18:22:53 -05:00
|
|
|
* joininfo.h
|
1996-07-09 02:22:35 -04:00
|
|
|
* prototypes for joininfo.c.
|
|
|
|
|
*
|
|
|
|
|
*
|
2022-01-07 19:04:57 -05:00
|
|
|
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
|
2000-01-26 00:58:53 -05:00
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
2010-09-20 16:08:53 -04:00
|
|
|
* src/include/optimizer/joininfo.h
|
1996-07-09 02:22:35 -04:00
|
|
|
*
|
|
|
|
|
*-------------------------------------------------------------------------
|
|
|
|
|
*/
|
|
|
|
|
#ifndef JOININFO_H
|
|
|
|
|
#define JOININFO_H
|
|
|
|
|
|
2019-01-29 16:49:25 -05:00
|
|
|
#include "nodes/pathnodes.h"
|
1997-11-25 20:14:33 -05:00
|
|
|
|
2003-01-23 22:58:44 -05:00
|
|
|
|
2006-12-12 16:31:02 -05:00
|
|
|
extern bool have_relevant_joinclause(PlannerInfo *root,
|
|
|
|
|
RelOptInfo *rel1, RelOptInfo *rel2);
|
2003-01-23 22:58:44 -05:00
|
|
|
|
2005-06-05 18:32:58 -04:00
|
|
|
extern void add_join_clause_to_rels(PlannerInfo *root,
|
2003-01-23 22:58:44 -05:00
|
|
|
RestrictInfo *restrictinfo,
|
|
|
|
|
Relids join_relids);
|
2010-09-14 19:15:29 -04:00
|
|
|
extern void remove_join_clause_from_rels(PlannerInfo *root,
|
|
|
|
|
RestrictInfo *restrictinfo,
|
|
|
|
|
Relids join_relids);
|
2001-10-28 01:26:15 -05:00
|
|
|
|
1996-07-09 02:22:35 -04:00
|
|
|
#endif /* JOININFO_H */
|