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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy