Skip to content

Commit 881ca9c

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 5236dcd commit 881ca9c

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
@@ -1149,7 +1149,7 @@ $$ LANGUAGE plpgsql;
11491149
On failure, this function might produce an error message such as
11501150
<programlisting>
11511151
ERROR: query returned no rows
1152-
DETAIL: parameters: $1 = 'nosuchuser'
1152+
DETAIL: parameters: username = 'nosuchuser'
11531153
CONTEXT: PL/pgSQL function get_userid(text) line 6 at SQL statement
11541154
</programlisting>
11551155
</para>

0 commit comments

Comments
 (0)