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

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: philipp(dot)salvisberg(at)gmail(dot)com
Subject: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
Date: 2024-07-16 09:11:35
Message-ID: 172112109590.736590.12219129462878821880@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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'

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message David G. Johnston 2024-07-16 14:13:49 Re: 13.2.2. Repeatable Read Isolation Level #
Previous Message PG Doc comments form 2024-07-16 04:54:53 Mismatch for connection key/value pair between documentation and code?