Commit c38cadc0 authored by Tom Lane's avatar Tom Lane

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
parent 448b02c0
...@@ -956,7 +956,7 @@ CREATE TABLE tree ( ...@@ -956,7 +956,7 @@ CREATE TABLE tree (
); );
</programlisting> </programlisting>
A top-level node would have NULL <structfield>parent_id</structfield>, 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. constrained to reference valid rows of the table.
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment