pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix oversight in commit 1ec7fca8592178281cd5cdada0f27a340fb813fc 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix oversight in commit 1ec7fca8592178281cd5cdada0f27a340fb813fc @ 2021-08-02 03:52 Etsuro Fujita <efujita@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Etsuro Fujita @ 2021-08-02 03:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix oversight in commit 1ec7fca8592178281cd5cdada0f27a340fb813fc. I failed to account for the possibility that when ExecAppendAsyncEventWait() notifies multiple async-capable nodes using postgres_fdw, a preceding node might invoke process_pending_request() to process a pending asynchronous request made by a succeeding node. In that case the succeeding node should produce a tuple to return to the parent Append node from tuples fetched by process_pending_request() when notified. Repair. Per buildfarm via Michael Paquier. Back-patch to v14, like the previous commit. Thanks to Tom Lane for testing. Discussion: https://postgr.es/m/YQP0UPT8KmPiHTMs%40paquier.xyz Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/fb234086fe81fb1848934b6e1f6382611fc9ad4f Modified Files -------------- contrib/postgres_fdw/postgres_fdw.c | 22 ++++++++++++++++++---- src/backend/executor/nodeAppend.c | 22 ++++++++++++---------- 2 files changed, 30 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix oversight in commit 1ec7fca8592178281cd5cdada0f27a340fb813fc @ 2021-08-02 03:52 Etsuro Fujita <efujita@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: Etsuro Fujita @ 2021-08-02 03:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix oversight in commit 1ec7fca8592178281cd5cdada0f27a340fb813fc. I failed to account for the possibility that when ExecAppendAsyncEventWait() notifies multiple async-capable nodes using postgres_fdw, a preceding node might invoke process_pending_request() to process a pending asynchronous request made by a succeeding node. In that case the succeeding node should produce a tuple to return to the parent Append node from tuples fetched by process_pending_request() when notified. Repair. Per buildfarm via Michael Paquier. Back-patch to v14, like the previous commit. Thanks to Tom Lane for testing. Discussion: https://postgr.es/m/YQP0UPT8KmPiHTMs%40paquier.xyz Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a8ed9bd59d48c13da50ed2358911721b2baf1de3 Modified Files -------------- contrib/postgres_fdw/postgres_fdw.c | 22 ++++++++++++++++++---- src/backend/executor/nodeAppend.c | 22 ++++++++++++---------- 2 files changed, 30 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-08-02 03:52 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-08-02 03:52 pgsql: Fix oversight in commit 1ec7fca8592178281cd5cdada0f27a340fb813fc Etsuro Fujita <efujita@postgresql.org> 2021-08-02 03:52 pgsql: Fix oversight in commit 1ec7fca8592178281cd5cdada0f27a340fb813fc Etsuro Fujita <efujita@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox