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

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

Commit: 3eeadc425ccf30d5738bb1204adb2e50a8bea8c1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-04-30T19:37:56Z
Releases: 13.3
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