gooderp18绿色标准版
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

42 行
1.2KB

  1. /*-------------------------------------------------------------------------
  2. *
  3. * functions.h
  4. * Declarations for execution of SQL-language functions.
  5. *
  6. *
  7. * Portions Copyright (c) 1996-2019, PostgreSQL Global Development Group
  8. * Portions Copyright (c) 1994, Regents of the University of California
  9. *
  10. * src/include/executor/functions.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef FUNCTIONS_H
  15. #define FUNCTIONS_H
  16. #include "nodes/execnodes.h"
  17. #include "tcop/dest.h"
  18. /* This struct is known only within executor/functions.c */
  19. typedef struct SQLFunctionParseInfo *SQLFunctionParseInfoPtr;
  20. extern Datum fmgr_sql(PG_FUNCTION_ARGS);
  21. extern SQLFunctionParseInfoPtr prepare_sql_fn_parse_info(HeapTuple procedureTuple,
  22. Node *call_expr,
  23. Oid inputCollation);
  24. extern void sql_fn_parser_setup(struct ParseState *pstate,
  25. SQLFunctionParseInfoPtr pinfo);
  26. extern void check_sql_fn_statements(List *queryTreeList);
  27. extern bool check_sql_fn_retval(Oid func_id, Oid rettype,
  28. List *queryTreeList,
  29. bool *modifyTargetList,
  30. JunkFilter **junkFilter);
  31. extern DestReceiver *CreateSQLFunctionDestReceiver(void);
  32. #endif /* FUNCTIONS_H */
上海开阖软件有限公司 沪ICP备12045867号-1