1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-27 22:56:53 +03:00

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:
Tom Lane 2021-05-06 09:59:11 -04:00
parent 448b02c005
commit c38cadc090

View File

@ -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>