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

From Bruce Momjian
Subject Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
Date
Msg-id ZsAQgb-eaNsIAXCn@momjian.us
Whole thread Raw
In response to Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result  (PG Doc comments form <noreply@postgresql.org>)
List 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@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Only you can decide what is important to you.



pgsql-docs by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: question about "vacuum full" command
Next
From: Bruce Momjian
Date:
Subject: Re: pg_createsubscriber clarification