Fix inconsistencies with code and beautify xlog structures description and fin hash_xlog.h

Поиск
Список
Период
Сортировка
От Kirill Reshke
Тема Fix inconsistencies with code and beautify xlog structures description and fin hash_xlog.h
Дата
Msg-id CALdSSPj1j=a1d1hVA3oabRFz0hSU3KKrYtZPijw4UPUM7LY9zw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Fix inconsistencies with code and beautify xlog structures description and fin hash_xlog.h
Список pgsql-hackers
Hi hackers!

While doing some xlog-related task at my job I noticed inconsistency
between [0] & [1]. hash_xlog.h xl_hash_squeeze_page structure
description mismatches with actual code.
PFA fixing issue.

I also allowed myself to standardise description of
xl_hash_move_page_contents and xl_hash_init_bitmap_page, so
xl_hash_delete, xl_hash_init_bitmap_page and
xl_hash_move_page_contents describes their zeroth backup block akin to
each other.


[0]
https://git.postgresql.org/cgit/postgresql.git/tree/src/include/access/hash_xlog.h?id=567d27e8e2b752743626eb259ba75ecdc936eaf3#n147
[1]
https://git.postgresql.org/cgit/postgresql.git/tree/src/backend/access/hash/hash_xlog.c?id=567d27e8e2b752743626eb259ba75ecdc936eaf3#n830

-- 
Best regards,
Kirill Reshke

Вложения

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