summaryrefslogtreecommitdiff
path: root/doc/src/sgml/func/func-json.sgml
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2025-11-08 09:49:43 -0500
committerBruce Momjian <bruce@momjian.us>2025-11-08 09:49:43 -0500
commit980a855c5c2e21e964a739694e24004f72e03fdf (patch)
tree6f431d946445c84073afff474c26dbf0e0ed28d3 /doc/src/sgml/func/func-json.sgml
parente8bfad4ca842733b957c01e732ec009778f952cd (diff)
doc: consistently use "structname" and "structfield" markup
Previously "literal" and "classname" were used, inconsistently, for SQL table and column names. Reported-by: Peter Smith Author: Peter Smith Discussion: https://postgr.es/m/CAHut+Pvtf24r+bdPgBind84dBLPvgNL7aB+=HxAUupdPuo2gRg@mail.gmail.com Backpatch-through: master
Diffstat (limited to 'doc/src/sgml/func/func-json.sgml')
-rw-r--r--doc/src/sgml/func/func-json.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/func/func-json.sgml b/doc/src/sgml/func/func-json.sgml
index c529ddf1808..1ec73cff464 100644
--- a/doc/src/sgml/func/func-json.sgml
+++ b/doc/src/sgml/func/func-json.sgml
@@ -3899,8 +3899,8 @@ SELECT jt.* FROM
<literal>NESTED</literal> paths <literal>$.movies[*]</literal> and
<literal>$.books[*]</literal> and also the usage of
<literal>FOR ORDINALITY</literal> column at <literal>NESTED</literal>
- levels (columns <literal>movie_id</literal>, <literal>book_id</literal>,
- and <literal>author_id</literal>):
+ levels (columns <structfield>movie_id</structfield>, <structfield>book_id</structfield>,
+ and <structfield>author_id</structfield>):
<programlisting>
SELECT * FROM JSON_TABLE (