postgresql/src/backend/parser/parse_enr.c
Bruce Momjian 29275b1d17 Update copyright for 2024
Reported-by: Michael Paquier

Discussion: https://postgr.es/m/ZZKTDPxBBMt3C0J9@paquier.xyz

Backpatch-through: 12
2024-01-03 20:49:05 -05:00

29 lines
811 B
C

/*-------------------------------------------------------------------------
*
* parse_enr.c
* parser support routines dealing with ephemeral named relations
*
* Portions Copyright (c) 1996-2024, 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);
}