Skip to content

Commit 03e9b95

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 151da21 commit 03e9b95

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
@@ -1295,7 +1295,7 @@ $$ LANGUAGE plpgsql;
12951295
On failure, this function might produce an error message such as
12961296
<programlisting>
12971297
ERROR: query returned no rows
1298-
DETAIL: parameters: $1 = 'nosuchuser'
1298+
DETAIL: parameters: username = 'nosuchuser'
12991299
CONTEXT: PL/pgSQL function get_userid(text) line 6 at SQL statement
13001300
</programlisting>
13011301
</para>

0 commit comments

Comments
 (0)