mirror of
https://github.com/postgres/postgres.git
synced 2025-11-22 12:22:45 +03:00
SQL JSON path enhanced numeric literals
Add support for non-decimal integer literals and underscores in numeric literals to SQL JSON path language. This follows the rules of ECMAScript, as referred to by the SQL standard. Internally, all the numeric literal parsing of jsonpath goes through numeric_in, which already supports all this, so this patch is just a bit of lexer work and some tests and documentation. Reviewed-by: Dean Rasheed <dean.a.rasheed@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/b11b25bb-6ec1-d42f-cedd-311eae59e1fb@enterprisedb.com
This commit is contained in:
@@ -553,6 +553,7 @@ T836 SQL/JSON path language: starts with predicate YES
|
||||
T837 SQL/JSON path language: regex_like predicate YES
|
||||
T838 JSON_TABLE: PLAN DEFAULT clause NO
|
||||
T839 Formatted cast of datetimes to/from character strings NO
|
||||
T840 Hex integer literals in SQL/JSON path language YES SQL:202x draft
|
||||
M001 Datalinks NO
|
||||
M002 Datalinks via SQL/CLI NO
|
||||
M003 Datalinks via Embedded SQL NO
|
||||
|
||||
Reference in New Issue
Block a user