]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix bogus coding in ExecAppendAsyncEventWait().
authorEtsuro Fujita <efujita@postgresql.org>
Thu, 4 Apr 2024 08:25:02 +0000 (17:25 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Thu, 4 Apr 2024 08:25:02 +0000 (17:25 +0900)
commit3f96d113ff84787b490e974d9cd6da69c15687f9
tree9448c01b35823276760345d829ff01451a914c79
parentc2faf48fa3b262f57cb999a3ab1e00e8d46176cd
Fix bogus coding in ExecAppendAsyncEventWait().

No configured-by-FDW events would result in "return" directly out of a
PG_TRY block, making the exception stack dangling.  Repair.

Oversight in commit 501cfd07d; back-patch to v14, like that commit, but
as we do not have this issue in HEAD (cf. commit 50c67c201), no need to
apply this patch to it.

In passing, improve a comment about the handling of in-process requests
in a postgres_fdw.c function called from this function.

Alexander Pyhalov, with comment adjustment/improvement by me.

Discussion: https://postgr.es/m/425fa29a429b21b0332737c42a4fdc70%40postgrespro.ru
contrib/postgres_fdw/postgres_fdw.c
src/backend/executor/nodeAppend.c