summaryrefslogtreecommitdiff
path: root/src/include/executor/tqueue.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/executor/tqueue.h')
-rw-r--r--src/include/executor/tqueue.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/executor/tqueue.h b/src/include/executor/tqueue.h
index 6f8eb73c9ae..6a668fa8a09 100644
--- a/src/include/executor/tqueue.h
+++ b/src/include/executor/tqueue.h
@@ -21,11 +21,11 @@
extern DestReceiver *CreateTupleQueueDestReceiver(shm_mq_handle *handle);
/* Use these to receive tuples from a shm_mq. */
-typedef struct TupleQueueFunnel TupleQueueFunnel;
-extern TupleQueueFunnel *CreateTupleQueueFunnel(void);
-extern void DestroyTupleQueueFunnel(TupleQueueFunnel *funnel);
-extern void RegisterTupleQueueOnFunnel(TupleQueueFunnel *, shm_mq_handle *);
-extern HeapTuple TupleQueueFunnelNext(TupleQueueFunnel *, bool nowait,
- bool *done);
+typedef struct TupleQueueReader TupleQueueReader;
+extern TupleQueueReader *CreateTupleQueueReader(shm_mq_handle *handle,
+ TupleDesc tupledesc);
+extern void DestroyTupleQueueReader(TupleQueueReader *funnel);
+extern HeapTuple TupleQueueReaderNext(TupleQueueReader *,
+ bool nowait, bool *done);
#endif /* TQUEUE_H */