Re: pg_waldump error message fix

Поиск
Список
Период
Сортировка
От Bossart, Nathan
Тема Re: pg_waldump error message fix
Дата
Msg-id F8E394B7-13D4-46A9-86AB-4C8365525EB3@amazon.com
обсуждение исходный текст
Ответ на Re: pg_waldump error message fix  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
On 12/13/20, 7:01 PM, "Michael Paquier" <michael@paquier.xyz> wrote:
> On Mon, Dec 14, 2020 at 10:26:01AM +0900, Kyotaro Horiguchi wrote:
>> Yeah, I had the same feeling. At least, the two LSNs in the message
>> under discussion are simply redundant. So +1 to just remove the LSN at
>> the caller site.
>
> That would mean that we are ready to accept that we will never forget
> to a LSN in any of the messages produced by xlogreader.c or any of the
> callbacks used by pg_waldump.  FWIW, I'd rather let a position in this
> report than none.  At least it allows users to know the area where the
> problem happened.

Yeah.  Unfortunately, I suspect we will have the same problem if we
add a new variable that we only use to track the LSN to report for
errors.

Nathan


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Add Information during standby recovery conflicts
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: [PATCH] postgres_fdw connection caching - cause remote sessions linger till the local session exit