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

46 行
1.2KB

  1. /*-------------------------------------------------------------------------
  2. *
  3. * pquery.h
  4. * prototypes for pquery.c.
  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/tcop/pquery.h
  11. *
  12. *-------------------------------------------------------------------------
  13. */
  14. #ifndef PQUERY_H
  15. #define PQUERY_H
  16. #include "nodes/parsenodes.h"
  17. #include "utils/portal.h"
  18. extern PGDLLIMPORT Portal ActivePortal;
  19. extern PortalStrategy ChoosePortalStrategy(List *stmts);
  20. extern List *FetchPortalTargetList(Portal portal);
  21. extern List *FetchStatementTargetList(Node *stmt);
  22. extern void PortalStart(Portal portal, ParamListInfo params,
  23. int eflags, Snapshot snapshot);
  24. extern void PortalSetResultFormat(Portal portal, int nFormats,
  25. int16 *formats);
  26. extern bool PortalRun(Portal portal, long count, bool isTopLevel,
  27. bool run_once, DestReceiver *dest, DestReceiver *altdest,
  28. char *completionTag);
  29. extern uint64 PortalRunFetch(Portal portal,
  30. FetchDirection fdirection,
  31. long count,
  32. DestReceiver *dest);
  33. #endif /* PQUERY_H */
上海开阖软件有限公司 沪ICP备12045867号-1