Re: find_all_inheritors() with NoLock fails on concurrently dropped sub-partitions

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: surya poondla <suryapoondla4(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: find_all_inheritors() with NoLock fails on concurrently dropped sub-partitions
Date: 2026-10-14 22:47:46
Message-ID: CAN4CZFP1g_vQqLXPTWZStYM5t1oWe0nbaLShjNU+=QqJ6T7Z4Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> One note for back-patching, the test uses string conditions for injection
> points, which only exist on master

Yes, I have a version of the testcase without it, if this patch gets
accepted I can share the version of the patch for 19 and earlier. It
uses the new form for reliability: making the test reliably fail on
the unpatched code without it is much harder, the test is simpler with
it.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-10-14 22:51:54 Re: [PG19] btree_gin misses rows for a timestamptz bound in the repeated DST hour
Previous Message Zsolt Parragi 2026-10-14 22:33:26 Re: REPACK: warn about skipping foreign partitions