1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-19 23:22:23 +03:00
Files
postgres/src/backend/parser/parse_enr.c
Bruce Momjian 7559d8ebfa Update copyrights for 2020
Backpatch-through: update all files in master, backpatch legal files through 9.4
2020-01-01 12:21:45 -05:00

30 lines
811 B
C

/*-------------------------------------------------------------------------
*
* parse_enr.c
* parser support routines dealing with ephemeral named relations
*
* Portions Copyright (c) 1996-2020, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
*
* IDENTIFICATION
* src/backend/parser/parse_enr.c
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
#include "parser/parse_enr.h"
bool
name_matches_visible_ENR(ParseState *pstate, const char *refname)
{
return (get_visible_ENR_metadata(pstate->p_queryEnv, refname) != NULL);
}
EphemeralNamedRelationMetadata
get_visible_ENR(ParseState *pstate, const char *refname)
{
return get_visible_ENR_metadata(pstate->p_queryEnv, refname);
}