diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2022-12-14 05:40:38 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2022-12-14 06:17:07 +0100 |
commit | 6fcda9aba83449082124825b6d375c0a61e21c42 (patch) | |
tree | d2e23f5322bf6879e0ee328593fbc7b3f6f71702 /src/backend/utils/adt/varbit.c | |
parent | 60684dd834a222fefedd49b19d1f0a6189c1632e (diff) | |
download | postgresql-6fcda9aba83449082124825b6d375c0a61e21c42.tar.gz postgresql-6fcda9aba83449082124825b6d375c0a61e21c42.zip |
Non-decimal integer literals
Add support for hexadecimal, octal, and binary integer literals:
0x42F
0o273
0b100101
per SQL:202x draft.
This adds support in the lexer as well as in the integer type input
functions.
Reviewed-by: John Naylor <john.naylor@enterprisedb.com>
Reviewed-by: Zhihong Yu <zyu@yugabyte.com>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Reviewed-by: Dean Rasheed <dean.a.rasheed@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/b239564c-cad0-b23e-c57e-166d883cb97d@enterprisedb.com
Diffstat (limited to 'src/backend/utils/adt/varbit.c')
0 files changed, 0 insertions, 0 deletions