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
This commit is contained in:
parent
448b02c005
commit
c38cadc090
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue