Re: postgres_fdw: incomplete subabort cleanup of connections used in async execution

2022-01-21 Thread Etsuro Fujita
On Wed, Dec 22, 2021 at 2:40 PM Etsuro Fujita wrote: > On Wed, Dec 22, 2021 at 1:08 AM Alexander Pyhalov > wrote: > > Looks good to me. > > Great! Thanks for reviewing! I've committed the patch. Best regards, Etsuro Fujita

Re: postgres_fdw: incomplete subabort cleanup of connections used in async execution

2021-12-21 Thread Etsuro Fujita
Hi Alexander, On Wed, Dec 22, 2021 at 1:08 AM Alexander Pyhalov 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

Re: postgres_fdw: incomplete subabort cleanup of connections used in async execution

2021-12-21 Thread Alexander Pyhalov
Etsuro Fujita писал 2021-12-19 13:25: Hi, 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

postgres_fdw: incomplete subabort cleanup of connections used in async execution

2021-12-19 Thread Etsuro Fujita
Hi, 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()).