Re: BUG #17344: Assert failed on queiring async_capable foreign table with inheritance - Mailing list pgsql-bugs

From Alexander Lakhin
Subject Re: BUG #17344: Assert failed on queiring async_capable foreign table with inheritance
Date
Msg-id d10cbf5d-d45a-d3b4-51b3-0a80f5039ed3@gmail.com
Whole thread Raw
In response to Re: BUG #17344: Assert failed on queiring async_capable foreign table with inheritance  (Etsuro Fujita <etsuro.fujita@gmail.com>)
Responses Re: BUG #17344: Assert failed on queiring async_capable foreign table with inheritance  (Etsuro Fujita <etsuro.fujita@gmail.com>)
List pgsql-bugs
Hello Etsuro-san,
31.12.2021 10:36, Etsuro Fujita wrote:
> On Tue, Dec 28, 2021 at 10:14 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote:
>> The root cause of the
>> assertion failure in the first case might be something other than the
>> limitation.  I’ll look into this in more detail.
> To fix, I modified postgresReScanForeignScan() so that we always
> process a pending async request (if any) before restarting the foreign
> scan.  Attached is a patch for that.  I tested the patch with the
> first case, and it addresses the assertion failure.
Thanks for the fix! I can confirm that it eliminates the failure and
propose a simple test case for the issue. Maybe you will find it useful.

Best regards,
Alexander

Attachment

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #17351: Altering a composite type created for a partitioned table can lead to a crash
Next
From: PG Bug reporting form
Date:
Subject: BUG #17352: Column CHECK regex error