parse_param.h 860 B

12345678910111213141516171819202122232425
  1. /*-------------------------------------------------------------------------
  2. *
  3. * parse_param.h
  4. * handle parameters in parser
  5. *
  6. * Portions Copyright (c) 1996-2022, 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. #include "parser/parse_node.h"
  16. extern void setup_parse_fixed_parameters(ParseState *pstate,
  17. const Oid *paramTypes, int numParams);
  18. extern void setup_parse_variable_parameters(ParseState *pstate,
  19. Oid **paramTypes, int *numParams);
  20. extern void check_variable_parameters(ParseState *pstate, Query *query);
  21. extern bool query_contains_extern_params(Query *query);
  22. #endif /* PARSE_PARAM_H */