detoasting.patch
text/plain
Filename: detoasting.patch
Type: text/plain
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: unified
| File | + | − |
|---|---|---|
| src/backend/access/common/detoast.c | 1 | 1 |
diff --git a/src/backend/access/common/detoast.c b/src/backend/access/common/detoast.c index 47a03fa98b..b796406239 100644 --- a/src/backend/access/common/detoast.c +++ b/src/backend/access/common/detoast.c @@ -233,7 +233,7 @@ heap_tuple_untoast_attr_slice(struct varlena *attr, * of a given length (after decompression). */ max_size = pglz_maximum_compressed_size(sliceoffset + slicelength, - TOAST_COMPRESS_SIZE(attr)); + toast_pointer.va_extsize); /* * Fetch enough compressed slices (compressed marker will get set