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

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file
Дата
Msg-id 20221004.152348.905742618983525147.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Ответы Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
At Tue, 04 Oct 2022 15:17:06 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> Other than that, it looks good to me.

Sorry I have another comment.

> -            unsigned int tli,
> -                        log,
> -                        seg;
> +            unsigned int tli;
>              XLogSegNo    segno;

TLI should be of type TimeLineID.

This is not directly related to this patch, pg_resetwal.c has the
following line..

> static uint32 minXlogTli = 0;

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: Bharath Rupireddy
Дата:
Сообщение: 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