pgsql: Doc: improve examples for json_populate_record() and related fun

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: improve examples for json_populate_record() and related fun
Date: 2020-08-14 00:00:46
Message-ID: E1k6N9K-0001M2-0N@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Doc: improve examples for json_populate_record() and related functions.

Make these examples self-contained by providing declarations of the
user-defined row types they rely on. There wasn't room to do this
in the old doc format, but now there is, and I think it makes the
examples a good bit less confusing.

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/124772e3cac6d3bf6c1f6d32518209c6a3fdd3eb

Modified Files
--------------
doc/src/sgml/func.sgml | 17 ++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2020-08-14 00:31:28 pgsql: Fix compilation warnings with libselinux 3.1 in contrib/sepgsql/
Previous Message Andres Freund 2020-08-13 23:26:46 pgsql: snapshot scalability: Move PGXACT->xmin back to PGPROC.