fix_segv_in_sr.patch
text/x-patch
Filename: fix_segv_in_sr.patch
Type: text/x-patch
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 | + | − |
|---|---|---|
| src/backend/access/transam/xlog.c | 5 | 0 |
*** a/src/backend/access/transam/xlog.c --- b/src/backend/access/transam/xlog.c *************** *** 2759,2766 **** RestoreArchivedFile(char *path, const char *xlogfname, uint32 restartLog; uint32 restartSeg; ! /* In standby mode, restore_command might not be supplied */ ! if (StandbyMode && recoveryRestoreCommand == NULL) goto not_available; /* --- 2759,2769 ---- uint32 restartLog; uint32 restartSeg; ! /* ! * Returns FALSE if restore_command has not been supplied. This is ! * possible in standby mode. ! */ ! if (recoveryRestoreCommand == NULL) goto not_available; /*