pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Refactor/reword some error messages to avoid duplicates
2+ messages / 1 participants
[nested] [flat]

* pgsql: Refactor/reword some error messages to avoid duplicates
@ 2024-08-07 15:31 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2024-08-07 15:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



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

* pgsql: Refactor/reword some error messages to avoid duplicates
@ 2024-08-07 15:31 Alvaro Herrera <alvherre@alvh.no-ip.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2024-08-07 15:31 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



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


end of thread, other threads:[~2024-08-07 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-08-07 15:31 pgsql: Refactor/reword some error messages to avoid duplicates Alvaro Herrera <alvherre@alvh.no-ip.org>
2024-08-07 15:31 pgsql: Refactor/reword some error messages to avoid duplicates Alvaro Herrera <alvherre@alvh.no-ip.org>

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