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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
Дата
Msg-id ZsAQgb-eaNsIAXCn@momjian.us
обсуждение исходный текст
Ответ на 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>)
Список 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 по дате отправления: