Re: BUG: PostgreSQL 19devel throws internal opfamily error for FK with reordered referenced columns
Amit Langote <amitlangote09@gmail.com>
From: Amit Langote <amitlangote09@gmail.com>
To: Junwang Zhao <zhjwpku@gmail.com>
Cc: Matheus Alcantara <matheusssilv97@gmail.com>,
Fredrik Widlert <fredrik.widlert@digpro.se>, pgsql-bugs@lists.postgresql.org
Date: 2026-04-10T06:32:31Z
Lists: pgsql-bugs
On Fri, Apr 10, 2026 at 1:42 PM Amit Langote <amitlangote09@gmail.com> wrote: > Thanks Junwang for checking. I've just pushed this: 980c1a85d819. Pushed a follow up commit to add an Assert making the single-column invariant explicit in ri_FastPathFlushArray(), per Junwang's suggestion off-list. -- Thanks, Amit Langote
Commits
-
Add test case for same-type reordered FK columns
- 009ea1b08d7b 19 (unreleased) landed
-
Assert index_attnos[0] == 1 in ri_FastPathFlushArray()
- 155c03ee9d44 19 (unreleased) landed
-
Fix FK fast-path scan key ordering for mismatched column order
- 980c1a85d819 19 (unreleased) landed
-
Add fast path for foreign key constraint checks
- 2da86c1ef9b5 19 (unreleased) cited