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

Enterprise / PostgreSQL - Tom Lane [sss.pgh.pa.us] - 30 April 2021 19:37 UTC

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

e6f9539dc3 Doc: add an example of a self-referential foreign key to ddl.sgml.
doc/src/sgml/ddl.sgml | 28 ++++++++++++++++++++++++++--
1 file changed, 26 insertions(+), 2 deletions(-)

Upstream: git.postgresql.org


  • Share