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

Started by PG Bug reporting formalmost 2 years ago2 messagesdocs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

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 behaviour.

I suggest to change this line

DETAIL: parameters: $1 = 'nosuchuser'

to

DETAIL: parameters: username = 'nosuchuser'

#2Bruce Momjian
bruce@momjian.us
In reply to: PG Bug reporting form (#1)
Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result

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@momjian.us> https://momjian.us
EDB https://enterprisedb.com

Only you can decide what is important to you.