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

Function SPI_GetMemoryReservation

src/backend/executor/spi.c:3516–3520  ·  view source on GitHub ↗

* What was the amount of memory reserved for the last operator? See SPI_ReserveMemory() * for details. */

Source from the content-addressed store, hash-verified

3514 * for details.
3515 */
3516uint64 SPI_GetMemoryReservation(void)
3517{
3518 Assert(!IsResManagerMemoryPolicyNone());
3519 return SPIMemReserved;
3520}
3521
3522/**
3523 * Is memory reserved stack empty?

Callers 2

postquel_startFunction · 0.85
_SPI_assign_query_memFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected