Correction to comment of brin_range_deserialize
Correction to comment of brin_range_deserialize
Hi Hackers,
I found an issue in the comments of the src/backend/access/brin/brin_minmax_multi.c file.
The header comment of function brin_range_deserialize currently reads:
"Serialize the in-memory representation into a compact varlena value."
which looks like a copy/paste error, where "Serialize" should be "Deserialize".
I'm posting this patch to fix the comment.
Regards,
ji xu
I found an issue in the comments of the src/backend/access/brin/brin_minmax_multi.c file.
The header comment of function brin_range_deserialize currently reads:
"Serialize the in-memory representation into a compact varlena value."
which looks like a copy/paste error, where "Serialize" should be "Deserialize".
I'm posting this patch to fix the comment.
Regards,
ji xu
Re: Correction to comment of brin_range_deserialize
От:
Chao Li <li.evan.chao@gmail.com>
Дата:
> On Jan 28, 2026, at 16:10, ji xu wrote: > > Hi Hackers, > > I found an issue in the comments of the src/backend/access/brin/brin_minmax_multi.c file. > > The header comment of function brin_range_deserialize currently reads: > "Serialize the in-memory representation into a compact varlena value." > > which looks like a copy/paste error, where "Serialize" should be "Deserialize". > > I'm posting this patch to fix the comment. > > Regards, > ji xu > Indeed, like a copy-pasto from the initial commit (ab59610) where the 2 functions (serialize/deserialize) were added. The updated comment in the patch looks good to me. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/
Re: Correction to comment of brin_range_deserialize
On Thu, Jan 29, 2026 at 07:13:44AM +0800, Chao Li wrote: > Indeed, like a copy-pasto from the initial commit (ab59610) where > the 2 functions (serialize/deserialize) were added. > > The updated comment in the patch looks good to me. Clearly a copy-pasto. I've picked up that for later, thanks for the report. -- Michael