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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: add an example of a self-referential foreign key to ddl.sgm
Date: 2021-04-30 19:38:22
Message-ID: E1lcYxy-0000Kh-12@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e6f9539dc32473793c03cbe95bc099ee0a199c73

Modified Files
--------------
doc/src/sgml/ddl.sgml | 28 ++++++++++++++++++++++++++--
1 file changed, 26 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2021-05-01 14:42:56 pgsql: Revert use singular for -1 (commits 9ee7d533da and 5da9868ed9
Previous Message Tom Lane 2021-04-30 19:10:29 pgsql: Doc: update libpq's documentation for PQfn().