Skip to content

Commit e8f3641

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 305db95 commit e8f3641

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
@@ -1271,7 +1271,7 @@ $$ LANGUAGE plpgsql;
12711271
On failure, this function might produce an error message such as
12721272
<programlisting>
12731273
ERROR: query returned no rows
1274-
DETAIL: parameters: $1 = 'nosuchuser'
1274+
DETAIL: parameters: username = 'nosuchuser'
12751275
CONTEXT: PL/pgSQL function get_userid(text) line 6 at SQL statement
12761276
</programlisting>
12771277
</para>

0 commit comments

Comments
 (0)