summaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/create_function.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_function.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_function.sgml')
-rw-r--r--doc/src/sgml/ref/create_function.sgml4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml
index e748e842353..30bd4602f8d 100644
--- a/doc/src/sgml/ref/create_function.sgml
+++ b/doc/src/sgml/ref/create_function.sgml
@@ -817,10 +817,10 @@ $$ LANGUAGE plpgsql
SET search_path = admin, pg_temp;
</programlisting>
- This function's intention is to access a table <literal>admin.pwds</literal>.
+ This function's intention is to access a table <structname>admin.pwds</structname>.
But without the <literal>SET</literal> clause, or with a <literal>SET</literal> clause
mentioning only <literal>admin</literal>, the function could be subverted by
- creating a temporary table named <literal>pwds</literal>.
+ creating a temporary table named <structname>pwds</structname>.
</para>
<para>