Fix of fake unlogged LSN initialization

Поиск
Список
Период
Сортировка
От tsunakawa.takay@fujitsu.com
Тема Fix of fake unlogged LSN initialization
Дата
Msg-id OSBPR01MB2503CE851940C17DE44AE3D9FE6F0@OSBPR01MB2503.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответы Re: Fix of fake unlogged LSN initialization  (Michael Paquier <michael@paquier.xyz>)
Re: Fix of fake unlogged LSN initialization  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers
Hello,


The attached trivial patch fixes the initialization of the fake unlogged LSN.  Currently, BootstrapXLOG() in initdb
setsthe initial fake unlogged LSN to FirstNormalUnloggedLSN (=1000), but the recovery and pg_resetwal sets it to 1.
Thepatch modifies the latter two cases to match initdb. 

I don't know if this do actual harm, because the description of FirstNormalUnloggedLSN doesn't give me any idea.


Regards
Takayuki Tsunakawa




Вложения

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

Предыдущее
От: Andrew Gierth
Дата:
Сообщение: Re: Backport "WITH ... AS MATERIALIZED" syntax to <12?
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: Obsolete comment in partbounds.c