aboutsummaryrefslogtreecommitdiff
path: root/src/include/parser/parse_param.h
blob: fc0223ac0a6d77f8de5a97b9a87b9641e7cdd9b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*-------------------------------------------------------------------------
 *
 * parse_param.h
 *	  handle parameters in parser
 *
 * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
 * Portions Copyright (c) 1994, Regents of the University of California
 *
 * $PostgreSQL: pgsql/src/include/parser/parse_param.h,v 1.2 2010/01/02 16:58:07 momjian Exp $
 *
 *-------------------------------------------------------------------------
 */
#ifndef PARSE_PARAM_H
#define PARSE_PARAM_H

#include "parser/parse_node.h"

extern void parse_fixed_parameters(ParseState *pstate,
								   Oid *paramTypes, int numParams);
extern void parse_variable_parameters(ParseState *pstate,
									  Oid **paramTypes, int *numParams);
extern void check_variable_parameters(ParseState *pstate, Query *query);

#endif   /* PARSE_PARAM_H */