PostgreSQL Source Code  git master
parse_enr.h File Reference
Include dependency graph for parse_enr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

bool name_matches_visible_ENR (ParseState *pstate, const char *refname)
 
EphemeralNamedRelationMetadata get_visible_ENR (ParseState *pstate, const char *refname)
 

Function Documentation

◆ get_visible_ENR()

EphemeralNamedRelationMetadata get_visible_ENR ( ParseState pstate,
const char *  refname 
)

Definition at line 26 of file parse_enr.c.

References get_visible_ENR_metadata(), and ParseState::p_queryEnv.

Referenced by addRangeTableEntryForENR().

27 {
28  return get_visible_ENR_metadata(pstate->p_queryEnv, refname);
29 }
QueryEnvironment * p_queryEnv
Definition: parse_node.h:200
EphemeralNamedRelationMetadata get_visible_ENR_metadata(QueryEnvironment *queryEnv, const char *refname)

◆ name_matches_visible_ENR()

bool name_matches_visible_ENR ( ParseState pstate,
const char *  refname 
)

Definition at line 20 of file parse_enr.c.

References get_visible_ENR_metadata(), and ParseState::p_queryEnv.

Referenced by scanNameSpaceForENR().

21 {
22  return (get_visible_ENR_metadata(pstate->p_queryEnv, refname) != NULL);
23 }
QueryEnvironment * p_queryEnv
Definition: parse_node.h:200
EphemeralNamedRelationMetadata get_visible_ENR_metadata(QueryEnvironment *queryEnv, const char *refname)