Re: Fix calculations on WAL recycling.

2018-07-24 Thread Kyotaro HORIGUCHI
At Tue, 24 Jul 2018 10:41:18 +0900, Michael Paquier wrote in <20180724014118.ga4...@paquier.xyz> > On Mon, Jul 23, 2018 at 07:55:57PM +0900, Kyotaro HORIGUCHI wrote: > With your patch applied I see one segment recycled after each > checkpoint, which is correct. On HEAD, you would see no segments

Re: Fix calculations on WAL recycling.

2018-07-23 Thread Michael Paquier
On Mon, Jul 23, 2018 at 07:55:57PM +0900, Kyotaro HORIGUCHI wrote: > At Mon, 23 Jul 2018 15:59:16 +0900, Michael Paquier > wrote in <20180723065916.gi2...@paquier.xyz> >> This is an open item for v11. > > Mmm. Thanks. I wrongly thought this was v10 item. Removed this > from the next CF. Thanks

Re: Fix calculations on WAL recycling.

2018-07-23 Thread Kyotaro HORIGUCHI
At Mon, 23 Jul 2018 15:59:16 +0900, Michael Paquier wrote in <20180723065916.gi2...@paquier.xyz> > On Mon, Jul 23, 2018 at 01:57:48PM +0900, Kyotaro HORIGUCHI wrote: > > I'll register this to the next commitfest. > > > > https://www.postgresql.org/message-id/20180719.125117.155470938.horiguchi.k

Re: Fix calculations on WAL recycling.

2018-07-23 Thread Michael Paquier
On Mon, Jul 23, 2018 at 01:57:48PM +0900, Kyotaro HORIGUCHI wrote: > I'll register this to the next commitfest. > > https://www.postgresql.org/message-id/20180719.125117.155470938.horiguchi.kyot...@lab.ntt.co.jp This is an open item for v11. >> While considering this, I found a bug in 4b0d28de06