Re: Asynchronous execution support for Custom Scan - Mailing list pgsql-hackers

From Etsuro Fujita
Subject Re: Asynchronous execution support for Custom Scan
Date
Msg-id CAPmGK14CXTPx9RNf9G=DfxyyD46i=4sb1M0yX29_LkPLatb0=g@mail.gmail.com
Whole thread Raw
In response to Re: Asynchronous execution support for Custom Scan  (Kazutaka Onishi <onishi@heterodb.com>)
Responses Re: Asynchronous execution support for Custom Scan
List pgsql-hackers
On Mon, Sep 5, 2022 at 10:32 PM Kazutaka Onishi <onishi@heterodb.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



pgsql-hackers by date:

Previous
From: "kuroda.hayato@fujitsu.com"
Date:
Subject: RE: test_decoding assertion failure for the loss of top-sub transaction relationship
Next
From: Amit Kapila
Date:
Subject: Re: Handle infinite recursion in logical replication setup