Re: 回复: pg_restore error with partitioned table having exclude constraint - Mailing list pgsql-bugs

From Álvaro Herrera
Subject Re: 回复: pg_restore error with partitioned table having exclude constraint
Date
Msg-id al49T7fl9EKWEPB_@alvherre.pgsql
Whole thread
List pgsql-bugs
On 2025-May-14, Li Japin wrote:

> Apologies for the delay.  Considering it further, ignoring ii_ExclusionProcs and
> ii_ExclusionStrats seems incorrect given custom operators.
> 
> I've also updated ii_NumIndexAttrs to ii_NumIndexKeyAttrs, as exclusion indexes
> won't exceed the ii_NumIndexKeyAttrs.
> 
> I've also moved the test cases to indexing.sql.  I'm unsure of its suitability, but seeing
> pg_dump/pg_upgrade tests prompted the move.

Thanks for updating it.  I agree that adding the tests to indexing.sql
is the right move.  I have polished the patch a bit more and pushed to
branches from 17 onwards.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #19560: Wrong results since v16: removable LEFT JOIN silently drops WHERE qual
Next
From: Álvaro Herrera
Date:
Subject: Re: REINDEX (CONCURRENTLY) TABLE handles DEFERRED constraints as IMMEDIATE while processing