pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
2+ messages / 2 participants
[nested] [flat]

* Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
@ 2024-07-16 09:11 PG Doc comments form <noreply@postgresql.org>
  2024-08-17 02:52 ` Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result Bruce Momjian <bruce@momjian.us>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2024-07-16 09:11 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: philipp.salvisberg@gmail.com

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'


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
  2024-07-16 09:11 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>
@ 2024-08-17 02:52 ` Bruce Momjian <bruce@momjian.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Bruce Momjian @ 2024-08-17 02:52 UTC (permalink / raw)
  To: philipp.salvisberg@gmail.com; pgsql-docs@lists.postgresql.org

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.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2024-08-17 02:52 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-07-16 09:11 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>
2024-08-17 02:52 ` Bruce Momjian <bruce@momjian.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox