aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2024-08-16 22:50:54 -0400
committerBruce Momjian <bruce@momjian.us>2024-08-16 22:50:54 -0400
commite8f36414afac579f32c06573344c8ff4d854b59d (patch)
treefe7e39e7b543e30ee161bf279a133c145b8990ea
parent305db95434c9f68811f2489ec57d5a0435608c46 (diff)
downloadpostgresql-e8f36414afac579f32c06573344c8ff4d854b59d.tar.gz
postgresql-e8f36414afac579f32c06573344c8ff4d854b59d.zip
docs: fix incorrect plpgsql error message
Change "$1" to "username". Reported-by: philipp.salvisberg@gmail.com Discussion: https://postgr.es/m/172112109590.736590.12219129462878821880@wrigleys.postgresql.org Backpatch-through: 12
-rw-r--r--doc/src/sgml/plpgsql.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 936de410a93..9de0e10a26e 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -1271,7 +1271,7 @@ $$ LANGUAGE plpgsql;
On failure, this function might produce an error message such as
<programlisting>
ERROR: query returned no rows
-DETAIL: parameters: $1 = 'nosuchuser'
+DETAIL: parameters: username = 'nosuchuser'
CONTEXT: PL/pgSQL function get_userid(text) line 6 at SQL statement
</programlisting>
</para>