Header And Logo

PostgreSQL
| The world's most advanced open source database.

parse_param.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * parse_param.h
00004  *    handle parameters in parser
00005  *
00006  * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
00007  * Portions Copyright (c) 1994, Regents of the University of California
00008  *
00009  * src/include/parser/parse_param.h
00010  *
00011  *-------------------------------------------------------------------------
00012  */
00013 #ifndef PARSE_PARAM_H
00014 #define PARSE_PARAM_H
00015 
00016 #include "parser/parse_node.h"
00017 
00018 extern void parse_fixed_parameters(ParseState *pstate,
00019                        Oid *paramTypes, int numParams);
00020 extern void parse_variable_parameters(ParseState *pstate,
00021                           Oid **paramTypes, int *numParams);
00022 extern void check_variable_parameters(ParseState *pstate, Query *query);
00023 extern bool query_contains_extern_params(Query *query);
00024 
00025 #endif   /* PARSE_PARAM_H */