Re: [HACKERS] Broken O(n^2) avoidance in wal segment recycling.

2017-06-23 Thread Michael Paquier
On Fri, Jun 23, 2017 at 3:25 PM, Michael Paquier wrote: > On Thu, Jun 22, 2017 at 6:10 AM, Andres Freund wrote: >> We've not heard any complaints about this afaik, but it's not something >> that's easily diagnosable as being a problem. Therefore I

Re: [HACKERS] Broken O(n^2) avoidance in wal segment recycling.

2017-06-23 Thread Michael Paquier
On Thu, Jun 22, 2017 at 6:10 AM, Andres Freund wrote: > We've not heard any complaints about this afaik, but it's not something > that's easily diagnosable as being a problem. Therefore I suspect we > should fix and backpatch this? Agreed. I have just poked at this problem

[HACKERS] Broken O(n^2) avoidance in wal segment recycling.

2017-06-21 Thread Andres Freund
Hi, Author: Heikki Linnakangas Branch: master Release: REL9_5_BR [b2a5545bd] 2015-04-13 16:53:49 +0300 Branch: REL9_4_STABLE Release: REL9_4_2 [d72792d02] 2015-04-13 17:22:21 +0300 Branch: REL9_3_STABLE Release: REL9_3_7 [a800267e4] 2015-04-13 17:22:35 +0300 Branch: