aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parser.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2024-02-27 01:31:40 -0500
committerAndrew Dunstan <andrew@dunslane.net>2024-02-27 02:07:22 -0500
commit92d2ab7554f92b841ea71bcc72eaa8ab11aae662 (patch)
treef4894b55f51773cc9bd52138b0becdfb915ff3d4 /src/backend/parser/parser.c
parentef5e2e90859a39efdd3a78e528c544b585295a78 (diff)
downloadpostgresql-92d2ab7554f92b841ea71bcc72eaa8ab11aae662.tar.gz
postgresql-92d2ab7554f92b841ea71bcc72eaa8ab11aae662.zip
Rationalize and improve error messages for some jsonpath items
This is a followup to commit 66ea94e8e6. Error mssages concerning incorrect formats for date-time types are unified and parameterized, instead of using a fully separate error message for each type. Similarly, error messages regarding numeric and string arguments to certain items are standardized, and instead of saying that the argument is out of range simply say that it is invalid. The actual invalid arguments to these itesm are now shown in the error message. Error messages relating to numeric inputs of Nan or Infinity are made more informative. Jeevan Chalke and Kyotaro Horiguchi, with some input from Tom Lane. Discussion: https://postgr.es/m/20240129.121200.235012930453045390.horikyota.ntt@gmail.com
Diffstat (limited to 'src/backend/parser/parser.c')
0 files changed, 0 insertions, 0 deletions