Re: Asynchronous MergeAppend

From: Alexander Pyhalov <a(dot)pyhalov(at)postgrespro(dot)ru>
To: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Cc: Alexander Korotkov <aekorotkov(at)gmail(dot)com>, Matheus Alcantara <matheusssilv97(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Asynchronous MergeAppend
Date: 2026-10-01 09:27:00
Message-ID: 7da778f2ce2fa3e1330415e1831c62c9@postgrespro.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Etsuro Fujita писал(а) 2026-08-07 13:59:
> On Thu, Aug 6, 2026 at 1:17 AM Alexander Korotkov
> <aekorotkov(at)gmail(dot)com> wrote:
>> I've revised (simplified) the patchset according to fact that we can't
>> have in-flight async requests during the ExecReScanMergeAppend() call.
>
> Thanks for updating the patchest! Will review next month.
>

Hi. Rebased patch set on the current master. The only noticeable change
is that resetting of async requests moved from ExecAppendAsyncReset() to
ExecReScanAppendBase(). ExecAppendAsyncReset() now only drains them, and
so renamed to ExecAppendDrainAsyncRequests().

--
Best regards,
Alexander Pyhalov,
Postgres Professional

Attachment Content-Type Size
v22-0001-mark_async_capable-subpath-should-match-subplan.patch text/x-diff 3.0 KB
v22-0002-Introduce-AppendBase-AppendBaseState-base-types-.patch text/x-diff 70.4 KB
v22-0003-Extract-common-Append-MergeAppend-executor-logic.patch text/x-diff 24.0 KB
v22-0004-Move-async-infrastructure-into-shared-AppendBase.patch text/x-diff 20.4 KB
v22-0005-MergeAppend-should-support-Async-Foreign-Scan-su.patch text/x-diff 59.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2026-10-01 09:30:48 Re: Row pattern recognition
Previous Message Jakub Wartak 2026-10-01 09:22:42 Re: [PATCH] Reduce LWLockWaitListLock() cache-line contention with adaptive spin reads