nodeIncrementalSort.h 1.2 KB

12345678910111213141516171819202122232425262728
  1. /*-------------------------------------------------------------------------
  2. *
  3. * nodeIncrementalSort.h
  4. *
  5. * Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
  6. * Portions Copyright (c) 1994, Regents of the University of California
  7. *
  8. * src/include/executor/nodeIncrementalSort.h
  9. *
  10. *-------------------------------------------------------------------------
  11. */
  12. #ifndef NODEINCREMENTALSORT_H
  13. #define NODEINCREMENTALSORT_H
  14. #include "access/parallel.h"
  15. #include "nodes/execnodes.h"
  16. extern IncrementalSortState *ExecInitIncrementalSort(IncrementalSort *node, EState *estate, int eflags);
  17. extern void ExecEndIncrementalSort(IncrementalSortState *node);
  18. extern void ExecReScanIncrementalSort(IncrementalSortState *node);
  19. /* parallel instrumentation support */
  20. extern void ExecIncrementalSortEstimate(IncrementalSortState *node, ParallelContext *pcxt);
  21. extern void ExecIncrementalSortInitializeDSM(IncrementalSortState *node, ParallelContext *pcxt);
  22. extern void ExecIncrementalSortInitializeWorker(IncrementalSortState *node, ParallelWorkerContext *pcxt);
  23. extern void ExecIncrementalSortRetrieveInstrumentation(IncrementalSortState *node);
  24. #endif /* NODEINCREMENTALSORT_H */