pgsql: Improve comments for ExecAppendAsyncEventWait.

From: Etsuro Fujita <efujita(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve comments for ExecAppendAsyncEventWait.
Date: 2026-11-10 06:16:57
Message-ID: E1xQfA9-000000009CZ-1J2T@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Improve comments for ExecAppendAsyncEventWait.

We previously commented inside this function about when to wait and when
to poll; to improve readability, move this explanation to the top of the
function with some modifications, and replace the old comment with a
brief note.

Author: Chao Li <lic(at)highgo(dot)com>
Reviewed-by: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Discussion: https://postgr.es/m/C05FA422-F3E6-4198-AB7F-70570C157001%40gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/58aecdd064c5f156e04e96c3fa4074f4ae3e19ca

Modified Files
--------------
src/backend/executor/nodeAppend.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2026-11-10 08:24:42 pgsql: Simplify leader error reporting for parallel apply worker failur
Previous Message Michael Paquier 2026-11-10 04:55:29 Re: pgsql: Make GetSnapshotData() more resilient on out-of-memory errors