Re: Incorrect logic in XLogNeedsFlush()

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Incorrect logic in XLogNeedsFlush()
Дата
Msg-id cf851c4a5d14b31eded090839f0310319ba71be5.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Incorrect logic in XLogNeedsFlush()  (Melanie Plageman <melanieplageman@gmail.com>)
Ответы Re: Incorrect logic in XLogNeedsFlush()
Список pgsql-hackers
On Wed, 2025-09-10 at 11:12 -0400, Melanie Plageman wrote:
> So, would you consider the defining characteristic of whether or not
> we should use the flush pointer instead of min recovery point in
> XLogNeedsFlush() to be whether or not WAL inserts are allowed?

That was my question here:

https://www.postgresql.org/message-id/b4ad535a72fc02ea43076cf525e4dbaa72b00d5b.camel@j-davis.com

It seems like XLogFlush() and XLogNeedsFlush() should use the same
test, otherwise you could always get some confusing inconsistency.
Right?

Regards,
    Jeff Davis




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