* ExecutorFinish hook: all we need do is track nesting depth */
| 363 | * ExecutorFinish hook: all we need do is track nesting depth |
| 364 | */ |
| 365 | static void |
| 366 | explain_ExecutorFinish(QueryDesc *queryDesc) |
| 367 | { |
| 368 | nesting_level++; |
| 369 | PG_TRY(); |
| 370 | { |
| 371 | if (prev_ExecutorFinish) |
| 372 | prev_ExecutorFinish(queryDesc); |
| 373 | else |
| 374 | standard_ExecutorFinish(queryDesc); |
| 375 | } |
| 376 | PG_FINALLY(); |
| 377 | { |
| 378 | nesting_level--; |
| 379 | } |
| 380 | PG_END_TRY(); |
| 381 | } |
| 382 | |
| 383 | /* |
| 384 | * ExecutorEnd hook: log results if needed |
nothing calls this directly
no test coverage detected