pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Etsuro Fujita <efujita@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Minor code cleanup in asynchronous execution support.
Date: Fri, 23 Apr 2021 03:05:07 +0000
Message-ID: <E1lZm7v-0008Bf-3S@gemulon.postgresql.org> (raw)

Minor code cleanup in asynchronous execution support.

This is cleanup for commit 27e1f1456:

* ExecAppendAsyncEventWait(), which was modified a bit further by commit
  a8af856d3, duplicated the same nevents calculation.  Simplify the code
  a little bit to avoid the duplication.  Update comments there.
* Add an assertion to ExecAppendAsyncRequest().
* Update a comment about merging the async_capable options from input
  relations in merge_fdw_options(), per complaint from Kyotaro Horiguchi.
* Add a comment for fetch_more_data_begin().

Author: Etsuro Fujita
Discussion: https://postgr.es/m/CAPmGK1637W30Wx3MnrReewhafn6F_0J76mrJGoFXFnpPq4QfvA%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bb684c82f73316b88f9bcb321128a4347b5206fe

Modified Files
--------------
contrib/postgres_fdw/postgres_fdw.c |  8 +++++++-
src/backend/executor/nodeAppend.c   | 18 +++++++++++++-----
2 files changed, 20 insertions(+), 6 deletions(-)



Message-ID: <E1lZm7v-0008Bf-3S@gemulon.postgresql.org>
Permalink:  ../E1lZm7v-0008Bf-3S@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1lZm7v-0008Bf-3S@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: efujita@postgresql.org
  Subject: Re: pgsql: Minor code cleanup in asynchronous execution support.
  In-Reply-To: <E1lZm7v-0008Bf-3S@gemulon.postgresql.org>
  References: <E1lZm7v-0008Bf-3S@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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