doc: Fix typo
authorPeter Eisentraut <[email protected]>
Sat, 30 Nov 2024 07:43:46 +0000 (08:43 +0100)
committerPeter Eisentraut <[email protected]>
Sat, 30 Nov 2024 07:43:46 +0000 (08:43 +0100)
for commit 1e08905842f

Reported-by: Marcos Pegoraro <[email protected]>
doc/src/sgml/ddl.sgml

index fe3425e08ff0804cff187b3dd6dd9e25b7aeaaba..dea04d64db66b6b0b58a2d1066409b2932d4a776 100644 (file)
@@ -1329,7 +1329,7 @@ CREATE TABLE posts (
     In this case, <literal>CASCADE</literal> 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 <literal>ON UPDATE NO
-    ACTION</literal> (the default) and <literal>NO UPDATE RESTRICT</literal>.
+    ACTION</literal> (the default) and <literal>ON UPDATE RESTRICT</literal>.
     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