mirror of
https://github.com/postgres/postgres.git
synced 2026-02-16 17:19:08 -05:00
The old name of this file was never a very good indication of what it was for. Now that there's also access/relation.h, we have a potential confusion hazard as well, so let's rename it to something more apropos. Per discussion, "pathnodes.h" is reasonable, since a good fraction of the file is Path node definitions. While at it, tweak a couple of other headers that were gratuitously importing relation.h into modules that don't need it. Discussion: https://postgr.es/m/7719.1548688728@sss.pgh.pa.us
30 lines
841 B
C
30 lines
841 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* joininfo.h
|
|
* prototypes for joininfo.c.
|
|
*
|
|
*
|
|
* Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
|
|
* Portions Copyright (c) 1994, Regents of the University of California
|
|
*
|
|
* src/include/optimizer/joininfo.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
#ifndef JOININFO_H
|
|
#define JOININFO_H
|
|
|
|
#include "nodes/pathnodes.h"
|
|
|
|
|
|
extern bool have_relevant_joinclause(PlannerInfo *root,
|
|
RelOptInfo *rel1, RelOptInfo *rel2);
|
|
|
|
extern void add_join_clause_to_rels(PlannerInfo *root,
|
|
RestrictInfo *restrictinfo,
|
|
Relids join_relids);
|
|
extern void remove_join_clause_from_rels(PlannerInfo *root,
|
|
RestrictInfo *restrictinfo,
|
|
Relids join_relids);
|
|
|
|
#endif /* JOININFO_H */
|