v1-0001-Correction-to-comment-of-brin_range_deserialize.patch
application/octet-stream
Filename: v1-0001-Correction-to-comment-of-brin_range_deserialize.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: format-patch
Series: patch v1-0001
Subject: Correction to comment of brin_range_deserialize
| File | + | − |
|---|---|---|
| src/backend/access/brin/brin_minmax_multi.c | 1 | 1 |
From 661a9f91e5768749639a599d8ffca5e02fa39b2a Mon Sep 17 00:00:00 2001 From: ji xu <thanksgreed@gmail.com> Date: Wed, 28 Jan 2026 16:00:59 +0800 Subject: [PATCH v1] Correction to comment of brin_range_deserialize Note that brin_range_deserialize function : deserializes data into memory which looks like a copy/paste error, where "Serialize" should be "Deserialize". so it should be changed. Author: ji xu<thanksgreed@gmail.com> --- src/backend/access/brin/brin_minmax_multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/access/brin/brin_minmax_multi.c b/src/backend/access/brin/brin_minmax_multi.c index b58de13..1434c1f 100644 --- a/src/backend/access/brin/brin_minmax_multi.c +++ b/src/backend/access/brin/brin_minmax_multi.c @@ -712,7 +712,7 @@ brin_range_serialize(Ranges *range) /* * brin_range_deserialize - * Serialize the in-memory representation into a compact varlena value. + * Deserialize a compact varlena value into the in-memory representation. * * Simply copy the header and then also the individual values, as stored * in the in-memory value array. -- 1.8.3.1