aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2021-05-06 09:59:11 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2021-05-06 09:59:11 -0400
commitc38cadc0907a8d071b043b2b32b83efa09db38ea (patch)
tree3c187229f3ee24a4ddcccd550dcfb9b50fd33062
parent448b02c00515ba9d6683a8a97fe4305604d80028 (diff)
downloadpostgresql-c38cadc0907a8d071b043b2b32b83efa09db38ea.tar.gz
postgresql-c38cadc0907a8d071b043b2b32b83efa09db38ea.zip
Doc: trivial wording adjustment.
Improve self-referential foreign key example, per suggestion from David Johnston. Discussion: https://postgr.es/m/CAKFQuwZTke7+HUn4YUGqu2+gAPi4Cy18TXMrg_Z5nADkxfPNMw@mail.gmail.com
-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 513112a216d..b4648321dc4 100644
--- a/doc/src/sgml/ddl.sgml
+++ b/doc/src/sgml/ddl.sgml
@@ -956,7 +956,7 @@ CREATE TABLE tree (
);
</programlisting>
A top-level node would have NULL <structfield>parent_id</structfield>,
- but non-NULL <structfield>parent_id</structfield> entries would be
+ while non-NULL <structfield>parent_id</structfield> entries would be
constrained to reference valid rows of the table.
</para>