SQL JSON path enhanced numeric literals
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
From: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-02-27T19:13:31Z
Lists: pgsql-hackers
Attachments
- v1-0001-SQL-JSON-path-enhanced-numeric-literals.patch (text/plain) patch v1-0001
Attached is a patch to add nondecimal integer literals and underscores in numeric literals to the SQL JSON path language. This matches the recent additions to the core SQL syntax. It follows ECMAScript in combination with the current SQL draft. 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.
Commits
-
SQL JSON path enhanced numeric literals
- 102a5c164a91 16.0 landed