Re: Asynchronous execution support for Custom Scan

From: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
To: Kazutaka Onishi <onishi(at)heterodb(dot)com>
Cc: Kohei KaiGai <kaigai(at)heterodb(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Asynchronous execution support for Custom Scan
Date: 2022-09-06 09:29:55
Message-ID: CAPmGK14CXTPx9RNf9G=DfxyyD46i=4sb1M0yX29_LkPLatb0=g@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Sep 5, 2022 at 10:32 PM Kazutaka Onishi <onishi(at)heterodb(dot)com> wrote:
> I'm sorry for my error on your name...

No problem.

> > IIUC, it uses the proposed
> > APIs, but actually executes ctidscans *synchronously*, so it does not
> > improve performance. Right?

> Exactly.
> The actual CustomScan that supports asynchronous execution will
> start processing in CustomScanAsyncRequest,
> configure to detect completion via file descriptor in
> CustomScanAsyncConfigureWait,
> and receive the result in CustomScanAsyncNotify.

Ok, thanks!

Best regards,
Etsuro Fujita

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2022-09-06 09:55:10 Re: Handle infinite recursion in logical replication setup
Previous Message kuroda.hayato@fujitsu.com 2022-09-06 09:16:56 RE: test_decoding assertion failure for the loss of top-sub transaction relationship