Re: Remove an unnecessary LSN calculation while validating WAL page header

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Remove an unnecessary LSN calculation while validating WAL page header
Дата
Msg-id 20221011162426.lu3g3j3gzyu3bluf@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Remove an unnecessary LSN calculation while validating WAL page header  (Richard Guo <guofenglinux@gmail.com>)
Ответы Re: Remove an unnecessary LSN calculation while validating WAL page header  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 2022-Oct-11, Richard Guo wrote:

> As I can see in 7fcbf6a4 ValidXLogPageHeader() is refactored as

True, but look at dfda6ebaec67 -- that changed the use of recaddr from
being built from parts (which were globals back then) into something
that was computed locally.

Knowing how difficult that code was, and how heroic was to change it to
a more maintainable form, I place no blame on failing to notice that
some small thing could have been written more easily.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
Y una voz del caos me habló y me dijo
"Sonríe y sé feliz, podría ser peor".
Y sonreí. Y fui feliz.
Y fue peor.



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

Предыдущее
От: Dmitry Koval
Дата:
Сообщение: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Следующее
От: Zhihong Yu
Дата:
Сообщение: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands