auto_explain.fix.diff
application/octet-stream
Filename: auto_explain.fix.diff
Type: application/octet-stream
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: context
| File | + | − |
|---|---|---|
| auto_explain.fix.c | 3 | 1 |
*** auto_explain.c Wed Feb 17 10:59:20 2010 --- auto_explain.fix.c Wed Feb 17 13:49:42 2010 *************** *** 12,17 **** --- 12,18 ---- */ #include "postgres.h" + #include "access/xact.h" #include "commands/explain.h" #include "executor/instrument.h" #include "utils/guc.h" *************** static ExecutorEnd_hook_type prev_Execut *** 44,50 **** #define auto_explain_enabled() \ (auto_explain_log_min_duration >= 0 && \ ! (nesting_level == 0 || auto_explain_log_nested_statements)) void _PG_init(void); void _PG_fini(void); --- 45,52 ---- #define auto_explain_enabled() \ (auto_explain_log_min_duration >= 0 && \ ! (nesting_level == 0 || auto_explain_log_nested_statements) && \ ! TransactionBlockStatusCode() == 'T') void _PG_init(void); void _PG_fini(void);