Doc: add an example of a self-referential foreign key to ddl.sgml.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: bd9e46a1a4acafa170e9dbf35299518a216ffa41
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-04-30T19:37:56Z
Releases: 12.7
Doc: add an example of a self-referential foreign key to ddl.sgml.

While we've always allowed such cases, the documentation didn't
say you could do it.

Discussion: https://postgr.es/m/161969805833.690.13680986983883602407@wrigleys.postgresql.org

Files

PathChange+/−
doc/src/sgml/ddl.sgml modified +26 −2

Documentation touched

Discussion