Bug reference: 18147 Logged by: Hans Buschmann Email address: buschmann@nidsa.net PostgreSQL version: 16.0 Operating system: Fedora 38 x86-64 64bit, also on Win64 Description:
The query is quite simplified.. Perhaps it is good to now, that the table or_followup has an inherited table or_followup_archiv (= relid 17034) which is chosen by of_season and has not the same index definitions as or_followup.
The simplified query is preferred so long as it produces the error - but you really should be providing the create table commands to make the entire script self-contained.