diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-02-14 21:29:45 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-02-15 07:58:49 +0100 |
commit | 13d129333ee2cc936350cd257af4d0367a6099ac (patch) | |
tree | a1422b1caf42a665ba73062d0a41ed11222e1c6f /src/backend/utils/adt/jsonpath.c | |
parent | 73508475d69e90f98ebd9b7e1a5933a26a49c5e9 (diff) | |
download | postgresql-13d129333ee2cc936350cd257af4d0367a6099ac.tar.gz postgresql-13d129333ee2cc936350cd257af4d0367a6099ac.zip |
Add test case for trailing junk after numeric literals
PostgreSQL currently accepts numeric literals with trailing
non-digits, such as 123abc where the abc is treated as the next token.
This may be a bit surprising. This commit adds test cases for this;
subsequent commits intend to change this behavior.
Reviewed-by: John Naylor <john.naylor@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/b239564c-cad0-b23e-c57e-166d883cb97d@enterprisedb.com
Diffstat (limited to 'src/backend/utils/adt/jsonpath.c')
0 files changed, 0 insertions, 0 deletions