diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2022-11-24 00:36:11 +0300 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2022-11-24 00:36:11 +0300 |
commit | cee120951427fe39a54ab800abfa2834d85b8771 (patch) | |
tree | 2928e3cc7dc57b1e0d2ca86e99799178ddfb6a05 /src/include/nodes/execnodes.h | |
parent | b7a5ef17cf75c712b0fe5c5a20133a88da897aab (diff) | |
download | postgresql-cee120951427fe39a54ab800abfa2834d85b8771.tar.gz postgresql-cee120951427fe39a54ab800abfa2834d85b8771.zip |
Support for custom slots in the custom executor nodes
Some custom table access method may have their tuple format and use custom
executor nodes for their custom scan types. The ability to set a custom slot
would save them from tuple format conversion. Other users of custom executor
nodes may also benefit.
Discussion: https://postgr.es/m/CAPpHfduJUU6ToecvTyRE_yjxTS80FyPpct4OHaLFk3OEheMTNA@mail.gmail.com
Author: Alexander Korotkov
Reviewed-by: Pavel Borisov
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 01b1727fc09..0f10d4432bd 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -1949,6 +1949,7 @@ typedef struct CustomScanState List *custom_ps; /* list of child PlanState nodes, if any */ Size pscan_len; /* size of parallel coordination information */ const struct CustomExecMethods *methods; + const struct TupleTableSlotOps *slotOps; } CustomScanState; /* ---------------------------------------------------------------- |