PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
parse_enr.c File Reference
#include "postgres.h"
#include "parser/parse_enr.h"
Include dependency graph for parse_enr.c:

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.

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

References get_visible_ENR_metadata(), and ParseState::p_queryEnv.

Referenced by addRangeTableEntryForENR().

◆ name_matches_visible_ENR()

bool name_matches_visible_ENR ( ParseState pstate,
const char *  refname 
)

Definition at line 20 of file parse_enr.c.

21 {
22  return (get_visible_ENR_metadata(pstate->p_queryEnv, refname) != NULL);
23 }

References get_visible_ENR_metadata(), and ParseState::p_queryEnv.

Referenced by scanNameSpaceForENR().