pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Refactor/reword some error messages to avoid duplicates
Date: Wed, 07 Aug 2024 15:31:23 +0000
Message-ID: <E1sbidH-0038hc-Ia@gemulon.postgresql.org> (raw)

Refactor/reword some error messages to avoid duplicates

Also, remove brackets around "EMPTY [ ARRAY ]".  An error message is
not the place to state that a keyword is optional.

Backpatch to 17.

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/899f39ea25f2ee63a0c557f3908e15b280a4367a

Modified Files
--------------
src/backend/executor/execExprInterp.c            |  8 ++-
src/backend/parser/parse_expr.c                  | 90 +++++++++++++++++-------
src/backend/parser/parse_jsontable.c             |  4 +-
src/test/regress/expected/sqljson_jsontable.out  |  4 +-
src/test/regress/expected/sqljson_queryfuncs.out |  2 +-
5 files changed, 74 insertions(+), 34 deletions(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1sbidH-0038hc-Ia@gemulon.postgresql.org>
Permalink:  ../E1sbidH-0038hc-Ia@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sbidH-0038hc-Ia@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Refactor/reword some error messages to avoid duplicates
  In-Reply-To: <E1sbidH-0038hc-Ia@gemulon.postgresql.org>

* 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