parse_basebackup_options_bugfix_v1.patch
application/octet-stream
Filename: parse_basebackup_options_bugfix_v1.patch
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
Series: patch v1
| File | + | − |
|---|---|---|
| src/backend/replication/basebackup.c | 1 | 0 |
*** a/src/backend/replication/basebackup.c
--- b/src/backend/replication/basebackup.c
***************
*** 148,154 **** parse_basebackup_options(List *options, basebackup_options *opt)
bool o_progress = false;
bool o_fast = false;
! MemSet(opt, 0, sizeof(opt));
foreach(lopt, options)
{
DefElem *defel = (DefElem *) lfirst(lopt);
--- 148,154 ----
bool o_progress = false;
bool o_fast = false;
! MemSet(opt, 0, sizeof(*opt));
foreach(lopt, options)
{
DefElem *defel = (DefElem *) lfirst(lopt);