From: Bruce Momjian Date: Sat, 17 Aug 2024 02:50:54 +0000 (-0400) Subject: docs: fix incorrect plpgsql error message X-Git-Tag: REL_14_14~100 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=45c3bd1131c50c11187cadac44f2d5071df4835c;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 350b21531c8..1da73ba90bb 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -1260,7 +1260,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