mirror of
https://github.com/postgres/postgres.git
synced 2025-05-05 09:19:17 +03:00
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
This commit is contained in:
parent
1b9dd6b05a
commit
cad21a95ec
@ -1271,7 +1271,7 @@ $$ LANGUAGE plpgsql;
|
|||||||
On failure, this function might produce an error message such as
|
On failure, this function might produce an error message such as
|
||||||
<programlisting>
|
<programlisting>
|
||||||
ERROR: query returned no rows
|
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
|
CONTEXT: PL/pgSQL function get_userid(text) line 6 at SQL statement
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user