projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
305db95
)
docs: fix incorrect plpgsql error message
author
Bruce Momjian
Sat, 17 Aug 2024 02:50:54 +0000
(22:50 -0400)
committer
Bruce Momjian
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 936de410a93d40eaf9fe5cfab6068fbd3b703586..9de0e10a26ea203af7782da75ee6d6a2b68efba1 100644
(file)
--- a/
doc/src/sgml/plpgsql.sgml
+++ b/
doc/src/sgml/plpgsql.sgml
@@
-1271,7
+1271,7
@@
$$ LANGUAGE plpgsql;
On failure, this function might produce an error message such as
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