> On Behalf Of Tom Lane
> Perhaps you could whittle down your app into a testbed that just sends
> dummy data with about the same timing as the real app?
I think I'm starting to get a better understanding of problem. It looks
like one of the threads is trying to insert a pathological (~1,800,000)
number of records in one transaction in a table while the other threads
are also reading from and writing to that table. I'll try to get
something simple to reproduce this behavior.