mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
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
This commit is contained in:
@@ -527,6 +527,7 @@ T652 SQL-dynamic statements in SQL routines NO
|
||||
T653 SQL-schema statements in external routines YES
|
||||
T654 SQL-dynamic statements in external routines NO
|
||||
T655 Cyclically dependent routines YES
|
||||
T661 Non-decimal integer literals YES SQL:202x draft
|
||||
T811 Basic SQL/JSON constructor functions NO
|
||||
T812 SQL/JSON: JSON_OBJECTAGG NO
|
||||
T813 SQL/JSON: JSON_ARRAYAGG with ORDER BY NO
|
||||
|
||||
Reference in New Issue
Block a user