Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby
Дата
Msg-id CAB7nPqSy9VD21mmBA_pG3c6WAgAfheb0VFWzx7d6gYhZmgtgvQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
On Sat, Oct 17, 2015 at 11:10 PM, Michael Paquier
<michael.paquier@gmail.com>wrote:

> I think that a simple idea would be to not call LogStandbySnapshot() when
> we are still at the beginning of a new segment. We know that the first page
> of a WAL segment has a size of SizeOfXLogLongPHD, so just having a check on
> that sounds enough to me. Per se the patch attached that should be applied
> down to 9.4. This fixes the regression reported by Laurence for me.
>

This bug fix is registered in next CF so as we do not lose track of it;
https://commitfest.postgresql.org/7/398/
--
Michael

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13687: bug in row_to_json function with '-infinity' timestamp
Следующее
От: 許耀彰
Дата:
Сообщение: database and table information collect