PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
nodeCustom.h
Go to the documentation of this file.
1/* ------------------------------------------------------------------------
2 *
3 * nodeCustom.h
4 *
5 * prototypes for CustomScan nodes
6 *
7 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
8 * Portions Copyright (c) 1994, Regents of the University of California
9 *
10 * ------------------------------------------------------------------------
11 */
12#ifndef NODECUSTOM_H
13#define NODECUSTOM_H
14
15#include "access/parallel.h"
16#include "nodes/execnodes.h"
17
18/*
19 * General executor code
20 */
22 EState *estate, int eflags);
23extern void ExecEndCustomScan(CustomScanState *node);
24
25extern void ExecReScanCustomScan(CustomScanState *node);
26extern void ExecCustomMarkPos(CustomScanState *node);
27extern void ExecCustomRestrPos(CustomScanState *node);
28
29/*
30 * Parallel execution support
31 */
33 ParallelContext *pcxt);
35 ParallelContext *pcxt);
37 ParallelContext *pcxt);
41
42#endif /* NODECUSTOM_H */
void ExecCustomScanInitializeDSM(CustomScanState *node, ParallelContext *pcxt)
Definition: nodeCustom.c:174
void ExecShutdownCustomScan(CustomScanState *node)
Definition: nodeCustom.c:221
void ExecCustomScanEstimate(CustomScanState *node, ParallelContext *pcxt)
Definition: nodeCustom.c:161
void ExecCustomRestrPos(CustomScanState *node)
Definition: nodeCustom.c:150
void ExecReScanCustomScan(CustomScanState *node)
Definition: nodeCustom.c:132
void ExecCustomScanReInitializeDSM(CustomScanState *node, ParallelContext *pcxt)
Definition: nodeCustom.c:190
void ExecEndCustomScan(CustomScanState *node)
Definition: nodeCustom.c:125
void ExecCustomScanInitializeWorker(CustomScanState *node, ParallelWorkerContext *pwcxt)
Definition: nodeCustom.c:205
void ExecCustomMarkPos(CustomScanState *node)
Definition: nodeCustom.c:139
CustomScanState * ExecInitCustomScan(CustomScan *cscan, EState *estate, int eflags)
Definition: nodeCustom.c:26