On 6/23/17 16:10, Peter Eisentraut wrote:
>> Hmm, so for instance in LogicalIncreaseRestartDecodingForSlot() we have
>> some elog(DEBUG1) calls with the slot spinlock held. That's probably
>> uncool.
> Removing the call you pointed out doesn't make a difference, but it's
> possibly something similar.
Correction: The fault actually is in that function. I had only looked
at the "if" branch, but it was the "else" branch that triggered the
problem in this run. If I remove those elog calls, everything works
smoothly.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services