range canonicalization function make corner case failed.

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: range canonicalization function make corner case failed.
Date: 2023-06-25 03:12:23
Message-ID: CACJufxHTah1M+v2vkGX3qUh3wwmah_uXGeui74QEdZk-djNsGQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,
seems the canonicalization function makes valid int4range yield an out
of range error?

The following statement should work? or for range type, upper bound
is one less then base type bound.
select '[4,2147483647]'::int4range;

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-06-25 12:00:01 BUG #17997: Assert failed in validatePartitionedIndex() when attaching partition index to child of valid index
Previous Message Alexander Lakhin 2023-06-25 03:00:00 Re: BUG #17995: Segmentation fault caused by UPDATE statement