Doc: add an example of a self-referential foreign key to ddl.sgml.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Apr 2021 19:37:57 +0000 (15:37 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Apr 2021 19:37:57 +0000 (15:37 -0400)
commit4fd7c797672f87216ca7116238a52d72795be55e
treec49d3ca7a248e312433e3d7d5491e9f588af6492
parentd25997f898dd8c36fc7acad3f22366f18b548200
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
doc/src/sgml/ddl.sgml