MCPcopy Create free account
hub / github.com/apache/cloudberry / DestroyTupleQueueReader

Function DestroyTupleQueueReader

src/backend/executor/tqueue.c:154–158  ·  view source on GitHub ↗

* Destroy a tuple queue reader. * * Note: cleaning up the underlying shm_mq is the caller's responsibility. * We won't access it here, as it may be detached already. */

Source from the content-addressed store, hash-verified

152 * We won't access it here, as it may be detached already.
153 */
154void
155DestroyTupleQueueReader(TupleQueueReader *reader)
156{
157 pfree(reader);
158}
159
160/*
161 * Fetch a tuple from a tuple queue reader.

Callers 2

retrieve_next_tupleFunction · 0.85
ExecParallelFinishFunction · 0.85

Calls 1

pfreeFunction · 0.50

Tested by

no test coverage detected