summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_table_as.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/ref/create_table_as.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/ref/create_table_as.sgml')
-rw-r--r--doc/src/sgml/ref/create_table_as.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/create_table_as.sgml b/doc/src/sgml/ref/create_table_as.sgml
index 8429333e3af..6b41226cbd6 100644
--- a/doc/src/sgml/ref/create_table_as.sgml
+++ b/doc/src/sgml/ref/create_table_as.sgml
@@ -266,8 +266,8 @@ CREATE [ [ GLOBAL | LOCAL ] { TEMPORARY | TEMP } | UNLOGGED ] TABLE [ IF NOT EXI
<title>Examples</title>
<para>
- Create a new table <literal>films_recent</literal> consisting of only
- recent entries from the table <literal>films</literal>:
+ Create a new table <structname>films_recent</structname> consisting of only
+ recent entries from the table <structname>films</structname>:
<programlisting>
CREATE TABLE films_recent AS
@@ -286,8 +286,8 @@ CREATE TABLE films2 AS
</para>
<para>
- Create a new temporary table <literal>films_recent</literal>, consisting of
- only recent entries from the table <literal>films</literal>, using a
+ Create a new temporary table <structname>films_recent</structname>, consisting of
+ only recent entries from the table <structname>films</structname>, using a
prepared statement. The new table will be dropped at commit:
<programlisting>