Hi Alexander, On Wed, Dec 22, 2021 at 1:08 AM Alexander Pyhalov <a.pyha...@postgrespro.ru> wrote: > Etsuro Fujita писал 2021-12-19 13:25: > > While working on [1], I noticed $SUBJECT: postgres_fdw resets the > > per-connection states of connections, which store async requests sent > > to remote servers in async_capable mode, during post-abort > > (pgfdw_xact_callback()), but it fails to do so during post-subabort > > (pgfdw_subxact_callback()). This causes a crash when re-executing a > > query that was aborted in a subtransaction:
> Looks good to me. Great! Thanks for reviewing! Best regards, Etsuro Fujita