Re: E.6.3.2.1. Constraints

From: Kacper Kuras <kacperkuras(at)hotmail(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: 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>, Bruce Momjian <bruce(at)momjian(dot)us>
Subject: Re: E.6.3.2.1. Constraints
Date: 2026-10-10 12:41:13
Message-ID: VI0P193MB3111C432A6EEE8B74AD80A30BF912@VI0P193MB3111.EURP193.PROD.OUTLOOK.COM
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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.

Regards,
Kacper Kuras

Attachment Content-Type Size
relnotes-18-restrict-violation.diff application/octet-stream 1.4 KB

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2026-10-10 16:02:12 Re: Table 9.46. UUID Extraction Functions
Previous Message Laurenz Albe 2026-10-10 07:22:07 Re: Table 9.46. UUID Extraction Functions