Re: Correct docs about partitions and EXCLUDE constraints

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Paul Jungwirth <pj(at)illuminatedcomputing(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Correct docs about partitions and EXCLUDE constraints
Date: 2025-06-19 15:43:36
Message-ID: 6fe608e71db6d9805a798b77c26f8f4ede96ef1c.camel@j-davis.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2025-06-18 at 11:25 -0700, Paul Jungwirth wrote:
> Hi Hackers,
>
> In pg17 we added support for cross-partition EXCLUDE constraints, as
> long as they included all
> partition key columns and compared them with equality (see
> 8c852ba9a4). I updated the docs for
> exclusion constraints, but I missed that the docs for CREATE TABLE
> still said that they were not
> supported. This commit fixes that. I don't see a similar message in
> the ALTER TABLE docs.

Leaving it in the entry for PARTITION BY seems out of place; shouldn't
it be moved to the entry for EXCLUDE? I also merged your wording with
some similar wording from the entry about UNIQUE. Attached.

Regards,
Jeff Davis

Attachment Content-Type Size
0001-Correct-docs-about-partitions-and-EXCLUDE-constraint.patch text/x-patch 2.5 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Treat 2025-06-19 16:15:48 Re: Add CASEFOLD() function.
Previous Message Thom Brown 2025-06-19 15:36:29 Re: Add CASEFOLD() function.