pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: philipp.salvisberg@gmail.com
To: pgsql-docs@lists.postgresql.org
Subject: Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
Date: Fri, 16 Aug 2024 22:52:49 -0400
Message-ID: <ZsAQgb-eaNsIAXCn@momjian.us> (raw)
In-Reply-To: <172112109590.736590.12219129462878821880@wrigleys.postgresql.org>
References: <172112109590.736590.12219129462878821880@wrigleys.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.





view thread (2+ messages)

Message-ID: <ZsAQgb-eaNsIAXCn@momjian.us>
Permalink:  ../ZsAQgb-eaNsIAXCn@momjian.us/
Also on:    postgresql.org/message-id/ZsAQgb-eaNsIAXCn@momjian.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: bruce@momjian.us, philipp.salvisberg@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Change detail text in last example of 43.5.3. Executing a Command with a Single-Row Result
  In-Reply-To: <ZsAQgb-eaNsIAXCn@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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