From 49ae9fd8b7081c075b74889449b29d47fd80eaf3 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 30 Nov 2024 08:43:46 +0100 Subject: [PATCH] doc: Fix typo for commit 1e08905842f Reported-by: Marcos Pegoraro --- doc/src/sgml/ddl.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/ddl.sgml b/doc/src/sgml/ddl.sgml index fe3425e08ff..dea04d64db6 100644 --- a/doc/src/sgml/ddl.sgml +++ b/doc/src/sgml/ddl.sgml @@ -1329,7 +1329,7 @@ CREATE TABLE posts ( In this case, CASCADE means that the updated values of the referenced column(s) should be copied into the referencing row(s). There is also a noticeable difference between ON UPDATE NO - ACTION (the default) and NO UPDATE RESTRICT. + ACTION (the default) and ON UPDATE RESTRICT. The former will allow the update to proceed and the foreign-key constraint will be checked against the state after the update. The latter will prevent the update to run even if the state after the update would still