diff options
| author | Bruce Momjian <bruce@momjian.us> | 2025-11-08 09:49:43 -0500 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2025-11-08 09:49:43 -0500 |
| commit | 980a855c5c2e21e964a739694e24004f72e03fdf (patch) | |
| tree | 6f431d946445c84073afff474c26dbf0e0ed28d3 /doc/src/sgml/syntax.sgml | |
| parent | e8bfad4ca842733b957c01e732ec009778f952cd (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/syntax.sgml')
| -rw-r--r-- | doc/src/sgml/syntax.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/syntax.sgml b/doc/src/sgml/syntax.sgml index 237d7306fe8..34c83880a66 100644 --- a/doc/src/sgml/syntax.sgml +++ b/doc/src/sgml/syntax.sgml @@ -2430,8 +2430,8 @@ SELECT ROW(1,2.5,'this is a test'); which will be expanded to a list of the elements of the row value, just as occurs when the <literal>.*</literal> syntax is used at the top level of a <command>SELECT</command> list (see <xref linkend="rowtypes-usage"/>). - For example, if table <literal>t</literal> has - columns <literal>f1</literal> and <literal>f2</literal>, these are the same: + For example, if table <structname>t</structname> has + columns <structfield>f1</structfield> and <structfield>f2</structfield>, these are the same: <programlisting> SELECT ROW(t.*, 42) FROM t; SELECT ROW(t.f1, t.f2, 42) FROM t; |
