Hi,
On 2018-08-30 15:00:28 -0500, Justin Pryzby wrote:
> On Wed, Aug 29, 2018 at 11:35:51AM -0400, Tom Lane wrote:
> > This looks suspiciously like the issue under discussion in
> >
> > https://www.postgresql.org/message-id/12259.1532117714%40sss.pgh.pa.us
> >
> > As far as we can tell, that bug is a dozen years old, so it's not clear
> > why you find that you can reproduce it only in 10.5. But there might be
> > some subtle timing change accounting for that.
>
> I confirmed the stack appears to be same as here, modulo differences between
> 9.6 to 10.
Could you check if both of the proposed attempts at fixing the issue
also solves your problem?
Thanks,
Andres Freund