projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35af4bd
)
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 747b8dc3677d3e7ea40b5f4eec48027cbaee5e9a..8f4db1b114fdc590953e34cbf4f950a50e28e98a 100644
(file)
--- 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>