From: | Etsuro Fujita <efujita(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix bogus coding in ExecAppendAsyncEventWait(). |
Date: | 2024-04-04 08:37:32 |
Message-ID: | E1rsIbD-000Q7h-Fk@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
REL_15_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/3f96d113ff84787b490e974d9cd6da69c15687f9
Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c | 18 ++++++++++--------
src/backend/executor/nodeAppend.c | 31 +++++++++++++++----------------
2 files changed, 25 insertions(+), 24 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Etsuro Fujita | 2024-04-04 09:02:19 | pgsql: postgres_fdw: Remove useless ternary expression. |
Previous Message | Etsuro Fujita | 2024-04-04 08:37:31 | pgsql: Fix bogus coding in ExecAppendAsyncEventWait(). |