From: | Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Refactor/reword some error messages to avoid duplicates |
Date: | 2024-08-07 15:31:23 |
Message-ID: | E1sbidH-0038hb-Hk@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/2bb969f3998489e5dc4fe9f2a61185b43581975d
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Alexander Korotkov | 2024-08-07 15:53:02 | Re: pgsql: Fix more holes with SLRU code in need of int64 for segment numbe |
Previous Message | Robert Haas | 2024-08-07 12:56:16 | pgsql: Improve file header comments for astramer code. |