1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-05 09:19:17 +03:00

doc: Fix typo

for commit 1e08905842f

Reported-by: Marcos Pegoraro <marcos@f10.com.br>
This commit is contained in:
Peter Eisentraut 2024-11-30 08:43:46 +01:00
parent 5d39becf8b
commit 49ae9fd8b7

View File

@ -1329,7 +1329,7 @@ CREATE TABLE posts (
In this case, <literal>CASCADE</literal> means that the updated values of the In this case, <literal>CASCADE</literal> means that the updated values of the
referenced column(s) should be copied into the referencing row(s). referenced column(s) should be copied into the referencing row(s).
There is also a noticeable difference between <literal>ON UPDATE NO 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 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 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 prevent the update to run even if the state after the update would still