On 2014-04-21 12:31:09 -0700, Josh Berkus wrote:
> On 04/21/2014 12:26 PM, Tom Lane wrote:
> > Andres Freund <andres@2ndquadrant.com> writes:
> >> I spent the last two hours poking arounds in the environment Andrew
> >> provided and I was able to reproduce the issue, find a assert to
> >> reproduce it much faster and find a possible root cause.
> >
> > Hmm ... is this the same thing Josh is reporting? If so, why the
> > apparent connection with use of pg_stat_statements? Maybe that
> > just changes the timing to make the race condition more likely?
>
> Well, in Andrew's case it only happens if auto_explain is loaded.
Josh, how long does it take you to reproduce the issue? And can you
reproduce it outside of a production environment?
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services