postgresql/src/include/parser/parse_param.h

26 lines
832 B
C
Raw Normal View History

/*-------------------------------------------------------------------------
*
* parse_param.h
* handle parameters in parser
*
2017-01-03 13:48:53 -05:00
* Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
2010-09-20 16:08:53 -04:00
* src/include/parser/parse_param.h
*
*-------------------------------------------------------------------------
*/
#ifndef PARSE_PARAM_H
#define PARSE_PARAM_H
#include "parser/parse_node.h"
extern void parse_fixed_parameters(ParseState *pstate,
2010-02-25 21:01:40 -05:00
Oid *paramTypes, int numParams);
extern void parse_variable_parameters(ParseState *pstate,
2010-02-25 21:01:40 -05:00
Oid **paramTypes, int *numParams);
extern void check_variable_parameters(ParseState *pstate, Query *query);
extern bool query_contains_extern_params(Query *query);
#endif /* PARSE_PARAM_H */