> On Aug 21, 2025, at 22:10, Kirill Reshke <reshkekir...@gmail.com> wrote: > > Hi! > > I was looking at how PostgreSQL handles VM map bits, when I noticed $subj. > PFA small refactoring patch. > > -- > Best regards, > Kirill Reshke > <v1-0001-Remove-unneeded-cast-in-heap_xlog_lock.patch>
LGTM. BufferGetPage() returns a “Page” type, and the receiving variable “page” is of “Page” type as well, so the cast is not needed. -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/