Thread: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
From
PG Doc comments form
Date:
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'
Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
From
Bruce Momjian
Date:
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.