Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: philipp(dot)salvisberg(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
Date: 2024-08-17 02:52:49
Message-ID: ZsAQgb-eaNsIAXCn@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Tue, Jul 16, 2024 at 09:11:35AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/16/plpgsql-statements.html
> Description:
>
> The last example in the chapter uses a named parameter "username". As a
> result, the detail message should use "username" instead of "$1" to match
> the runtime behavior.
>
> I suggest to change this line
>
> DETAIL: parameters: $1 = 'nosuchuser'
>
> to
>
> DETAIL: parameters: username = 'nosuchuser'

Wow, this error goes all the way back to Postgres 12, which is our
earliest supported release. I have patched all our supported releases
with this fix. Thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2024-08-19 22:27:38 Re: pg_createsubscriber clarification
Previous Message David G. Johnston 2024-08-16 13:44:27 Re: question about "vacuum full" command