Re: Exclusion constraints on partitioned tables

From: Paul A Jungwirth <pj(at)illuminatedcomputing(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Ronan Dunklau <ronan(dot)dunklau(at)aiven(dot)io>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Exclusion constraints on partitioned tables
Date: 2023-07-11 05:52:05
Message-ID: CA+renyXKiEY1ZDZw3Vit0=5-v_=QmYVzt5+66Xqu_1uaUF4Sdw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jul 10, 2023 at 8:06 AM Paul A Jungwirth
<pj(at)illuminatedcomputing(dot)com> wrote:
>
> On Mon, Jul 10, 2023 at 7:05 AM Peter Eisentraut <peter(at)eisentraut(dot)org> wrote:
> > I'm not sure what value we would get from testing this with btree_gist,
> > but if we wanted to do that, then adding a new test file to the
> > btree_gist sql/ directory would seem reasonable to me.
> >
> > (I would make the test a little bit bigger than you had shown, like
> > insert a few values.)
> >
> > If you want to do that, please send another patch. Otherwise, I'm ok to
> > commit this one.
>
> I can get you a patch tonight or tomorrow. I think it's worth it since
> btree_gist uses different strategy numbers than ordinary gist.

Patch attached.

Regards,
Paul

Attachment Content-Type Size
v5-0001-Allow-some-exclusion-constraints-on-partitions.patch application/octet-stream 26.9 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2023-07-11 05:54:26 Re: Add index scan progress to pg_stat_progress_vacuum
Previous Message Masahiko Sawada 2023-07-11 05:47:45 Re: doc: improve the restriction description of using indexes on REPLICA IDENTITY FULL table.