codekingpro/portable-devtools
115k
1/*-------------------------------------------------------------------------2 *3 * parse_param.h4 * handle parameters in parser5 *6 * Portions Copyright (c) 1996-2023, PostgreSQL Global Development Group7 * Portions Copyright (c) 1994, Regents of the University of California8 *9 * src/include/parser/parse_param.h10 *11 *-------------------------------------------------------------------------12 */13#ifndef PARSE_PARAM_H14#define PARSE_PARAM_H15 16#include "parser/parse_node.h"17 18extern void setup_parse_fixed_parameters(ParseState *pstate,19 const Oid *paramTypes, int numParams);20extern void setup_parse_variable_parameters(ParseState *pstate,21 Oid **paramTypes, int *numParams);22extern void check_variable_parameters(ParseState *pstate, Query *query);23extern bool query_contains_extern_params(Query *query);24 25#endif /* PARSE_PARAM_H */26 