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)
commit3eeadc425ccf30d5738bb1204adb2e50a8bea8c1
tree361782fbe0dc4a4ad59496fe6dd9450632b7c5d3
parent7c810bd028a7be3ce32beb438db072bd02592869
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