projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5236dcd
)
docs: fix incorrect plpgsql error message
author
Bruce Momjian
<
[email protected]
>
Sat, 17 Aug 2024 02:50:54 +0000
(22:50 -0400)
committer
Bruce Momjian
<
[email protected]
>
Sat, 17 Aug 2024 02:50:54 +0000
(22:50 -0400)
Change "$1" to "username".
Reported-by:
[email protected]
Discussion: https://postgr.es/m/
172112109590
.736590.
12219129462878821880
@wrigleys.postgresql.org
Backpatch-through: 12
doc/src/sgml/plpgsql.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/plpgsql.sgml
b/doc/src/sgml/plpgsql.sgml
index bf9076bb7df6ed64214a5995b5f693d47ca2af16..525d46a7f7ba09e42c2303d2e4e090f661198101 100644
(file)
--- a/
doc/src/sgml/plpgsql.sgml
+++ b/
doc/src/sgml/plpgsql.sgml
@@
-1149,7
+1149,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>