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:56 +0000 (15:37 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 30 Apr 2021 19:37:56 +0000 (15:37 -0400)
commite6f9539dc32473793c03cbe95bc099ee0a199c73
treeeac9ecc578e08f4e57f7430be213dcfcf97eef2b
parent386e64ea5abf346d887c21ea8869317838ba19b5
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