On Wed, 21 Jun 2023 at 10:26, Marc Millas <marc.millas@xxxxxxxxxx> wrote: > link to the plan with both clauses ORed (the one not finishing) https://explain.depesz.com/s/jHO2 I'd go with the UNION or UNION ALL idea I mentioned earlier. David
On Wed, 21 Jun 2023 at 10:26, Marc Millas <marc.millas@xxxxxxxxxx> wrote: > link to the plan with both clauses ORed (the one not finishing) https://explain.depesz.com/s/jHO2 I'd go with the UNION or UNION ALL idea I mentioned earlier. David