Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nz11N-0005hx-6m for pgsql-docs@arkaria.postgresql.org; Wed, 08 Jun 2022 19:07:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nz11L-0005hs-RJ for pgsql-docs@arkaria.postgresql.org; Wed, 08 Jun 2022 19:07:11 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nz11L-0005hi-H8 for pgsql-docs@lists.postgresql.org; Wed, 08 Jun 2022 19:07:11 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nz11E-0007kX-Gk for pgsql-docs@lists.postgresql.org; Wed, 08 Jun 2022 19:07:10 +0000 Received: from bruce by momjian.us with local (Exim 4.94.2) (envelope-from ) id 1nz11B-001tQV-Ik; Wed, 08 Jun 2022 15:07:01 -0400 Date: Wed, 8 Jun 2022 15:07:01 -0400 From: Bruce Momjian To: Peter Eisentraut Cc: pg@kirasoft.com, pgsql-docs@lists.postgresql.org Subject: Re: Unclear Wording Message-ID: References: <165455351426.573551.7050474465030525109@wrigleys.postgresql.org> <886f8c66-d22e-a6c8-77a4-f4283c76d03e@enterprisedb.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="UpGLquGNPCPdvHah" Content-Disposition: inline In-Reply-To: <886f8c66-d22e-a6c8-77a4-f4283c76d03e@enterprisedb.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --UpGLquGNPCPdvHah Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 8, 2022 at 07:49:07PM +0200, Peter Eisentraut wrote: > On 08.06.22 02:15, Bruce Momjian wrote: > > - you can write a format > > + you can specify a format string > > The "format" refers to the earlier synopsis, so that should be changed, too. > Or put the "string" outside the element. I thought about moving it outside, so I did that in this patch. -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson --UpGLquGNPCPdvHah Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="format.diff" diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index d9a74896d5..cf387dfc3f 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -3778,7 +3778,7 @@ RAISE ; After level if any, - you can write a format + you can specify a format string (which must be a simple string literal, not an expression). The format string specifies the error message text to be reported. The format string can be followed --UpGLquGNPCPdvHah--