Skip to content

Commit 45c3bd1

Browse files
committed
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
1 parent 1b4bdf9 commit 45c3bd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ $$ LANGUAGE plpgsql;
12601260
On failure, this function might produce an error message such as
12611261
<programlisting>
12621262
ERROR: query returned no rows
1263-
DETAIL: parameters: $1 = 'nosuchuser'
1263+
DETAIL: parameters: username = 'nosuchuser'
12641264
CONTEXT: PL/pgSQL function get_userid(text) line 6 at SQL statement
12651265
</programlisting>
12661266
</para>

0 commit comments

Comments
 (0)