| 451 | } |
| 452 | |
| 453 | PLyExecutionContext * |
| 454 | PLy_current_execution_context(void) |
| 455 | { |
| 456 | if (PLy_execution_contexts == NULL) |
| 457 | elog(ERROR, "no Python function is currently executing"); |
| 458 | |
| 459 | return PLy_execution_contexts; |
| 460 | } |
| 461 | |
| 462 | MemoryContext |
| 463 | PLy_get_scratch_context(PLyExecutionContext *context) |
no outgoing calls
no test coverage detected