On 2019-Aug-19, Masahiko Sawada wrote: > On Tue, Aug 13, 2019 at 6:36 AM Alvaro Herrera <alvhe...@2ndquadrant.com> > wrote:
> > BTW I wrote the code as suggested and it passes all the tests ... but I > > then noticed that the unpatched code doesn't fail Ildar's original > > pgbench-based test for me, either. So maybe my laptop is not powerful > > enough to reproduce it, or maybe I'm doing something wrong. > > If you share the patch fixing this issue I'll test it on my > environment where I could reproduce the original problem. Never mind. I was able to reproduce it later, and verify that Andres' proposed strategy doesn't seem to fix the problem. I'm going to study the problem again today. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services