diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-02-16 10:32:36 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-02-16 10:37:31 +0100 |
commit | 2549f0661bd28571d7200d6f82f752a7ee5d47e1 (patch) | |
tree | 04e905d232763697d1a94cc4cc69c0154ca31372 /src/backend/access/gist/gistscan.c | |
parent | 70e81861fadd9112fa2d425c762e163910a4ee52 (diff) | |
download | postgresql-2549f0661bd28571d7200d6f82f752a7ee5d47e1.tar.gz postgresql-2549f0661bd28571d7200d6f82f752a7ee5d47e1.zip |
Reject trailing junk after numeric literals
After this, the PostgreSQL lexers no longer accept numeric literals
with trailing non-digits, such as 123abc, which would be scanned as
two tokens: 123 and abc. This is undocumented and surprising, and it
might also interfere with some extended numeric literal syntax being
contemplated for the future.
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/access/gist/gistscan.c')
0 files changed, 0 insertions, 0 deletions