JSON doc example (matchiness)

Поиск
Список
Период
Сортировка
От Erik Rijkers
Тема JSON doc example (matchiness)
Дата
Msg-id 13440f8b-4c1f-5875-c8e3-f3f65606af2f@xs4all.nl
обсуждение исходный текст
Ответы Re: JSON doc example (matchiness)  (Michael Paquier <michael@paquier.xyz>)
Список 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


Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: plan with result cache is very slow when work_mem is not enough
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Draft back-branch release notes are up