Andres Freund <andres(at)2ndquadrant(dot)com> writes:> Terje, do you use read committed or repeatable read/serializable?
Or even more to the point, can you apply the just-posted patch and seeif the problem goes away for you?
regards, tom lane