| From: | Erik Rijkers <er(at)xs4all(dot)nl> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | JSON doc example (matchiness) |
| Date: | 2021-05-07 20:18:44 |
| Message-ID: | 13440f8b-4c1f-5875-c8e3-f3f65606af2f@xs4all.nl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
The JSON doc has this example (to show the need for double backslash):
$ ? (@ like_regex "^\\d+$")
The example is not wrong exactly, and can be cast to jsonpath, but as-is
can never match anything.
I think it'd be helpful to provide that example so that it more probably
matches when the user does a quick trial.
Llet's change it to something like:
$.* ? (@ like_regex "^\\d+$")
Patch attached.
thanks,
Erik Rijkers
| Attachment | Content-Type | Size |
|---|---|---|
| func.sgml.20210507.diff | text/x-patch | 421 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2021-05-07 20:25:38 | Re: Draft back-branch release notes are up |
| Previous Message | Pavel Stehule | 2021-05-07 20:18:12 | Re: plan with result cache is very slow when work_mem is not enough |