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

Function ExecShutdownHashJoin

src/backend/executor/nodeHashjoin.c:1976–1989  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1974}
1975
1976void
1977ExecShutdownHashJoin(HashJoinState *node)
1978{
1979 if (node->hj_HashTable)
1980 {
1981 /*
1982 * Detach from shared state before DSM memory goes away. This makes
1983 * sure that we don't have any pointers into DSM memory by the time
1984 * ExecEndHashJoin runs.
1985 */
1986 ExecHashTableDetachBatch(node->hj_HashTable);
1987 ExecHashTableDetach(node->hj_HashTable);
1988 }
1989}
1990
1991static void
1992ExecParallelHashJoinPartitionOuter(HashJoinState *hjstate)

Callers 1

ExecShutdownNodeFunction · 0.85

Calls 2

ExecHashTableDetachBatchFunction · 0.85
ExecHashTableDetachFunction · 0.85

Tested by

no test coverage detected