On Tue, Sep 8, 2020 at 12:28 PM Pavel Stehule wrote:
You can try to reduce length of transactions, if possible.
This is the problem. A and B were developed for Oracle where SELECT does not open a transaction. We moved them to PG and now we have to very accurately add COMMITs without breaking the flow. It is quite a complex thing. I hoped we can avoid that.