PostgreSQL Source Code  git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
parse_param.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * parse_param.h
4  * handle parameters in parser
5  *
6  * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group
7  * Portions Copyright (c) 1994, Regents of the University of California
8  *
9  * src/include/parser/parse_param.h
10  *
11  *-------------------------------------------------------------------------
12  */
13 #ifndef PARSE_PARAM_H
14 #define PARSE_PARAM_H
15 
16 #include "parser/parse_node.h"
17 
18 extern void setup_parse_fixed_parameters(ParseState *pstate,
19  const Oid *paramTypes, int numParams);
21  Oid **paramTypes, int *numParams);
22 extern void check_variable_parameters(ParseState *pstate, Query *query);
23 extern bool query_contains_extern_params(Query *query);
24 
25 #endif /* PARSE_PARAM_H */
void check_variable_parameters(ParseState *pstate, Query *query)
Definition: parse_param.c:269
bool query_contains_extern_params(Query *query)
Definition: parse_param.c:331
void setup_parse_variable_parameters(ParseState *pstate, Oid **paramTypes, int *numParams)
Definition: parse_param.c:84
void setup_parse_fixed_parameters(ParseState *pstate, const Oid *paramTypes, int numParams)
Definition: parse_param.c:68
unsigned int Oid
Definition: postgres_ext.h:31