summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut2024-11-30 07:43:46 +0000
committerPeter Eisentraut2024-11-30 07:43:46 +0000
commit49ae9fd8b7081c075b74889449b29d47fd80eaf3 (patch)
treefa4ee6bb40bbca885bab012443fdd84dbe96777a
parent5d39becf8ba0080c98fee4b63575552f6800b012 (diff)
doc: Fix typo
for commit 1e08905842f Reported-by: Marcos Pegoraro <[email protected]>
-rw-r--r--doc/src/sgml/ddl.sgml2
1 files changed, 1 insertions, 1 deletions
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, <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