diff options
author | Bruce Momjian | 2024-08-17 02:50:54 +0000 |
---|---|---|
committer | Bruce Momjian | 2024-08-17 02:50:54 +0000 |
commit | 03e9b958eef44046c0092f1f34da4b2de0f9071d (patch) | |
tree | 91c3c9befccdc7c2653627c3ea629b1f7dbcb5da | |
parent | 151da217a37d793020f8daeea45c142571c0fbe4 (diff) |
docs: fix incorrect plpgsql error message
Change "$1" to "username".
Reported-by: [email protected]
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 12
-rw-r--r-- | doc/src/sgml/plpgsql.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index a6759238672..78e4983139b 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1295,7 +1295,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> |