Doc: improve examples for json_populate_record() and related functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Aug 2020 00:00:39 +0000 (20:00 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Aug 2020 00:00:39 +0000 (20:00 -0400)
commit124772e3cac6d3bf6c1f6d32518209c6a3fdd3eb
tree09714f35871c9023126822fe754625211dba893d
parent2f29fd4cb2522dfd64888892f0442a0ead8c6dd0
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.
doc/src/sgml/func.sgml