postgres.git / summary / log / commit / refs

commit    c38cadc0907a8d071b043b2b32b83efa09db38ea
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Thu May 06 13:59:11 2021 +0000
First released in: 14.0

    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


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 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> [parent: 448b02c00515]