Re: Remove unneeded cast in heap_xlog_lock.

Поиск
Список
Период
Сортировка
От Chao Li
Тема Re: Remove unneeded cast in heap_xlog_lock.
Дата
Msg-id 4D99E889-BF09-4E5F-BD93-3E4262FEAF8D@gmail.com
обсуждение исходный текст
Ответ на Remove unneeded cast in heap_xlog_lock.  (Kirill Reshke <reshkekirill@gmail.com>)
Ответы Re: Remove unneeded cast in heap_xlog_lock.
Список pgsql-hackers


On Aug 21, 2025, at 22:10, Kirill Reshke <reshkekirill@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/




В списке pgsql-hackers по дате отправления: