Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x8tPY-00000001aaI-1WC9 for pgsql-docs@arkaria.postgresql.org; Tue, 22 Sep 2026 05:51:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1x8tPW-0000000Dikd-10xo for pgsql-docs@arkaria.postgresql.org; Tue, 22 Sep 2026 05:51:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x8tPV-0000000DikV-476t for pgsql-docs@lists.postgresql.org; Tue, 22 Sep 2026 05:51:22 +0000 Received: from mail-wm2-x10.google.com ([2a00:1450:4864:31::10]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x8tPT-00000000cIy-0DiX for pgsql-docs@lists.postgresql.org; Tue, 22 Sep 2026 05:51:20 +0000 Received: by mail-wm2-x10.google.com with SMTP id 5b1f17b1804b1-49b912d3920so25263805e9.1 for ; Mon, 21 Sep 2026 22:51:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1790056276; x=1790661076; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:to:from:subject:message-id:from:to:cc :subject:date:message-id:reply-to:content-type; bh=uM8SiXDDdcI76LvNAYbzPjF03vGREekp8lMJMq6yHP4=; b=fE1k/MDd/0xmAci9YmUlpNOF4E4Z0xnI/ja/N3bYTiud+2wK3IHqsPfkcV/sI7PpGR aF9oSd/IMLtX9B5nugwbtj5c9wfJswNsdt6Dpfa5PNQwk5ycXxVkAEVI0no3hN0bUUCY R3zjeDasesl46C8oZwqUgu6d7oNuryRTUh0Gp3QQbLpVtaZdexKcezSHcqCDcEeSRopI BzPYnpu+eyqzYIwWpYfE+Ty5y2DhalUCR+4UIMEzgYJaOzUUnuH6NKsLZUJwnCDxlpi8 EYog/z204nNqgwRlW637XznEYhCxjkcYAB0nV/eboK4THC3Hm6MZvL2yAIS+bneRea4L xqoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790056276; x=1790661076; h=mime-version:user-agent:content-transfer-encoding:content-type :references:in-reply-to:date:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=uM8SiXDDdcI76LvNAYbzPjF03vGREekp8lMJMq6yHP4=; b=cPuDvycQpNpw963I8PWDPIRB8okF9JWg0FfgQbrjGD5EFysmOluj/5d5wqGooRFIhx x9b5gXQmJewRau/UZyc94Frl3kPlAt2sC4rcpwriM727ih41wgVwx/H08tXRvGjt02Cj g6qWPybmN7VINlYqmea5W8aG2roNftMeSGQV82gcJz6pq43jSRssg0QWV9OP5n8Gji/l Ik7kBPCuJn+31AUXNOF0e81JncfLFWMFfyUNPFqNcqbIxRTeHFl9N5NQfOuGGxHVbQCZ J1aEZJ6Sr5YknxiXqe8K2b+eqz5Cs+1HZggxYqBX47nVBGOL66QvcoyLep64zMeYvCCJ Ku1A== X-Forwarded-Encrypted: i=1; AKwUvBxiZpY4+VbgITB5pJxS4SlBjXPXyoYDTo0EJBV8LeBZeZi4FwIsVsjxM6tRKySjdFgjTTAzjaIzYwGu@lists.postgresql.org X-Gm-Message-State: AFuF++kxpCewjE4UVoJXWK86cY7yzQBKtelwIygaFkSRLvYdkHN1Eytz uwCuRCla4/KP1oH43f6LM0WoJwab+o4FOtNfKIhRO8w2wIaPEIhC/KHSP/CkBWoRPWM= X-Gm-Gg: AYBFou0s5qO7ORpDHKTxqTT0v0jzndon9HFCDFb8F83PxIE1FVdEFfKkdGgw0jxMV7o bGwY/NuldvSR9FtiubneDqsqNX8LxTLptyFQ7imy3DRy/SoVganCHIFNdoH/Qhgg2Uf8sekz2LT fMgKNHFm1UbmPCELEWfC2GpVeNxU58vnL4SBN2tOsrW8b+xyUdgBi2fm4DbdJ/dX7GTaExPsgPA GI7CKGCLOY6HDPbZuTAqfVtNJV+KBYAZne40E1WZz9uXGA/C0bawYnFCvFXxjYpi86z6EIwvbCD SMr8a0pWOnnvLaDgPDwoO3yLGd31hW1cKF06upgcuLgTtr0q0B0BKD/cV2EMwdhRP5kZ6zv6uPN glw68ZsUdIxvz0whiyCvOK/kMTJfu+W/lESEosM32xNDHtT+6b7RbnQOfmYCJpHphjlIb1oPkFA tiuuTPKjlcB5H2T1joZGd8TqvYVp+AAIwI54cJqHr1T06K/5ckOTXq1BeDHTAGwq8BSbj5aO0ZD rm6rkpJebgG6rMYQIqxxt0VaAAz X-Received: by 2002:a05:600c:8518:b0:49d:28c4:b304 with SMTP id 5b1f17b1804b1-49fc5741563mr191772625e9.29.1790056276590; Mon, 21 Sep 2026 22:51:16 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:70:4d7e:9bdb:d044:e453:c2ee]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49fdaaf8a0bsm18690885e9.3.2026.09.21.22.51.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Sep 2026 22:51:16 -0700 (PDT) Message-ID: Subject: Re: E.6.3.2.1. Constraints From: Laurenz Albe To: Bruce Momjian , kacperkuras@hotmail.com, pgsql-docs@lists.postgresql.org Date: Tue, 22 Sep 2026 07:51:15 +0200 In-Reply-To: References: <178982939588.1243.6087398342138761960@wrigleys.postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.60.2 (3.60.2-2.fc44) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 2026-09-21 at 15:08 -0400, Bruce Momjian wrote: > On Sat, Sep 19, 2026 at 02:49:55PM +0000, PG Doc comments form wrote: > > The following documentation comment has been logged on the website: > >=20 > > Page: https://www.postgresql.org/docs/18/release-18.html > > Description: > >=20 > > Commit 086c84b23 changed what a foreign key with ON DELETE RESTRICT or = ON > > UPDATE RESTRICT raises when it refuses a change: SQLSTATE 23001 > > (restrict_violation) instead of 23503 (foreign_key_violation), and the > > message now says "violates RESTRICT setting of foreign key constraint".= The > > PostgreSQL 18 release notes do not mention it. > >=20 > > Code that catches 23503 to report that a row is still referenced stops > > matching RESTRICT keys after upgrading, while NO ACTION keys still rais= e > > 23503. The same notes list the change to the XML error codes (cd838e200= ), so > > this one seems to belong there as well. >=20 > How do we want to handle such cases in the release notes?=C2=A0 The new c= odes > are not mentioned in the commit message, and there are no doc changes in = the > patch. In my opinion, that should have a place in the "migration to v19" section o= f incompatibilities in the release notes. I have no right to burden committers even more, but I'd say that such chang= es should be part of the commit message. Yours, Laurenz Albe