| 1363 | } |
| 1364 | |
| 1365 | void * |
| 1366 | SPI_palloc(Size size) |
| 1367 | { |
| 1368 | if (_SPI_current == NULL) |
| 1369 | elog(ERROR, "SPI_palloc called while not connected to SPI"); |
| 1370 | |
| 1371 | return MemoryContextAlloc(_SPI_current->savedcxt, size); |
| 1372 | } |
| 1373 | |
| 1374 | void * |
| 1375 | SPI_repalloc(void *pointer, Size size) |
no test coverage detected