fix_gzip_cleanup_callback_core.patch
application/octet-stream
Filename: fix_gzip_cleanup_callback_core.patch
Type: application/octet-stream
Part: 0
Message:
Re: refactoring basebackup.c
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: unified
| File | + | − |
|---|---|---|
| src/backend/replication/basebackup_gzip.c | 2 | 1 |
diff --git a/src/backend/replication/basebackup_gzip.c b/src/backend/replication/basebackup_gzip.c
index 3d2fa93e55..432423bd55 100644
--- a/src/backend/replication/basebackup_gzip.c
+++ b/src/backend/replication/basebackup_gzip.c
@@ -50,7 +50,8 @@ const bbsink_ops bbsink_gzip_ops = {
.begin_manifest = bbsink_forward_begin_manifest,
.manifest_contents = bbsink_gzip_manifest_contents,
.end_manifest = bbsink_forward_end_manifest,
- .end_backup = bbsink_forward_end_backup
+ .end_backup = bbsink_forward_end_backup,
+ .cleanup = bbsink_forward_cleanup
};
#endif