Re: E.6.3.2.1. Constraints

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Kacper Kuras <kacperkuras(at)hotmail(dot)com>
Cc: David Rowley <dgrowleyml(at)gmail(dot)com>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Subject: Re: E.6.3.2.1. Constraints
Date: 2026-10-23 19:06:13
Message-ID: atuwJar911aZUEPm@momjian.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sat, Oct 10, 2026 at 12:41:13PM +0000, Kacper Kuras wrote:
> Here is a patch for this case, against REL_18_STABLE, that adds
> 086c84b23 to the 18 release notes:
>
> Report RESTRICT foreign key violations with SQLSTATE 23001
> (restrict_violation) instead of 23503 (foreign_key_violation)
> (Peter Eisentraut)
>
> I put it in the Constraints section with the other foreign key items.
> Laurenz suggested the migration section; cd838e200 isn't listed there
> either, but I'm happy to move it if that's preferred.
>
> The patch also fixes a doubled "the" in the collation entry of the
> same section.
>
> Peter, CC'ing you since it's your commit.

Patch applied, though I moved it to the "incompatibilities" section,
where I felt it made more sense.

I am still unclear how I will catch such changes in the future without
requiring users to report them.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Do not let urgent matters crowd out time for investment in the future.

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Matemática A3K 2026-10-23 20:40:29 Updates on Docbook information
Previous Message Matemática A3K 2026-10-23 15:38:07 Re: 5.12.2.1. Example