Re: domain for WITHOUT OVERLAPS - Mailing list pgsql-hackers

From Paul A Jungwirth
Subject Re: domain for WITHOUT OVERLAPS
Date
Msg-id CA+renyV3a+nXntdUBoG++0NuPOVexVKOCC3Pe=cfTdhj9+0PdA@mail.gmail.com
Whole thread Raw
In response to Re: domain for WITHOUT OVERLAPS  (Kirill Reshke <reshkekirill@gmail.com>)
Responses Re: domain for WITHOUT OVERLAPS
List pgsql-hackers
On Tue, Mar 10, 2026 at 2:53 AM Kirill Reshke <reshkekirill@gmail.com> wrote:
>
> Hi!
> I v4, test comments says we check for unique violation, while test
> output says its exclusion constraint:
>
> +INSERT INTO temporal_mltrng4 VALUES ('[1,2)', '{[1,13)}'), ('[1,2)',
> '{[2,13)}'); -- not unique
> +ERROR:  conflicting key value violates exclusion constraint
> "temporal_mltrng4_pk"
>
> Maybe we can update wording to be more precise? Like `-- overlaps with
> other tuple`.
>
> Other that this nit, patch looks good.

Thanks for taking a look! I changed places we say `-- not unique` to
now say `-- overlaps`. v5 is attached to my reply to jian he.

Yours,

--
Paul              ~{:-)
pj@illuminatedcomputing.com



pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: [oauth] Stabilize the libpq-oauth ABI (and allow alternative implementations?)
Next
From: Nathan Bossart
Date:
Subject: Re: Add starelid, attnum to pg_stats and leverage this in pg_dump