FOR PORTION OF elog on non-polymorphic opcintype

From: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>
Subject: FOR PORTION OF elog on non-polymorphic opcintype
Date: 2026-09-04 04:53:08
Message-ID: CA+renyVuGtcR5_gTWmNo4LubKW=_KE3VoynfMq-9_vLvhP+GpA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Hackers,

Here is a fix for finding D5 from [0].

The issue is that we look up helper functions based on the
application-time column's opclass's opcintype but only accept anyrange
and anymultirange. The fix is to call type_is_range and
type_is_multirange instead.

[0] https://www.postgresql.org/message-id/CA%2BrenyV6QLOJYmLo3gbsg1Y%2BCrho8NqME1jJXgPbO_NgxfBaKQ%40mail.gmail.com

Yours,

--
Paul ~{:-)
pj(at)illuminatedcomputing(dot)com

Attachment Content-Type Size
v1-0001-Support-concrete-typed-range-opclasses-in-FOR-POR.patch text/x-patch 13.4 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Ayush Tiwari 2026-09-04 04:56:29 Re: Stabilize recovery conflict stats checks in 031_recovery_conflict.pl
Previous Message Paul A Jungwirth 2026-09-04 04:43:39 EXPLAIN ... FOR PORTION OF should not evaluate bounds