projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
559ae13
)
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 4761b03a3456efb2bbaf96bbd2684f23875d8173..3c54ca71d705739052973479cc3367a02bb2eadd 100644
(file)
--- a/
doc/src/sgml/plpgsql.sgml
+++ b/
doc/src/sgml/plpgsql.sgml
@@
-1127,7
+1127,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>