Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file
Дата
Msg-id YzvSpcONIe3gjrVp@paquier.xyz
обсуждение исходный текст
Ответ на Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
On Tue, Oct 04, 2022 at 03:17:06PM +0900, Kyotaro Horiguchi wrote:
> Nice finding. I found a few '%08X%08X's but they don't seem to fit
> similar fix.

Nice cleanup.

> Couldn't we use XLByteToSeg() here?
>
> Other than that, it looks good to me.

Yep.  It looks that you're right here.
--
Michael

Вложения

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

Предыдущее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Convert macros to static inline functions