]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Refactor/reword some error messages to avoid duplicates
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 7 Aug 2024 15:30:36 +0000 (11:30 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Wed, 7 Aug 2024 15:30:36 +0000 (11:30 -0400)
commit899f39ea25f2ee63a0c557f3908e15b280a4367a
tree0fc7fa2c1b1b7c91ee89dedee100db5c58654d3c
parentffac8ac48e409bbc7c2d9a4b37a1c39908ca24eb
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.
src/backend/executor/execExprInterp.c
src/backend/parser/parse_expr.c
src/backend/parser/parse_jsontable.c
src/test/regress/expected/sqljson_jsontable.out
src/test/regress/expected/sqljson_queryfuncs.out