| From: | Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | SQL JSON path enhanced numeric literals |
| Date: | 2023-02-27 19:13:31 |
| Message-ID: | b11b25bb-6ec1-d42f-cedd-311eae59e1fb@enterprisedb.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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.
| Attachment | Content-Type | Size |
|---|---|---|
| v1-0001-SQL-JSON-path-enhanced-numeric-literals.patch | text/plain | 10.3 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Nathan Bossart | 2023-02-27 19:25:01 | Re: verbose mode for pg_input_error_message? |
| Previous Message | Stephen Frost | 2023-02-27 19:10:02 | Re: Non-superuser subscription owners |