Re: PG16 walsender hangs in ResourceArrayEnlarge using pgoutput

From: Bowen Shi <zxwsbg12138(at)gmail(dot)com>
To: "Zhijie Hou (Fujitsu)" <houzj(dot)fnst(at)fujitsu(dot)com>
Cc: PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: PG16 walsender hangs in ResourceArrayEnlarge using pgoutput
Date: 2024-06-26 06:30:14
Message-ID: CAM_vCudW93wopG26KxaDu9-Q=VPh2eN4LUQoHtr-gYWjaOEf6w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

On Tue, Jun 25, 2024 at 7:47 PM Zhijie Hou (Fujitsu) <houzj(dot)fnst(at)fujitsu(dot)com>
wrote:

> You analysis looks good to me, I think I missed to drop the newly created
> slot when changing the logic to support row filter. Here is a small patch
> to drop the slots in each cycle, it can fix the issue on my machine.
>
> IIUC, the issue exists from PG15~HEAD. The current patch can apply
> on PG16~HEAD, If it looks ok, I will test and prepare the patch for the
> other branch.

This patch looks good to me. I tested again and didn't reproduce the
problem.

Regards,
Bowen Shi

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Richard Guo 2024-06-26 07:31:51 Re: BUG #18522: Wrong results with Merge Right Anti Join, inconsistent with Merge Anti Join
Previous Message Amit Kapila 2024-06-26 05:25:29 Re: PG16 walsender hangs in ResourceArrayEnlarge using pgoutput