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)
commit8f65db5ecf9ba235f2b5804ab6c788a310e31452
tree44dad772a83915f3fd7a4f60099a916cea5fbf2d
parent2033d108ee6b7328a17175645bc86c127279bca0
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