On Jun 13, 2024, at 21:55, Chapman Flack <jcfl...@acm.org> wrote: > My opinion is yes, that should be done. 9.46, umm, General > Rule 11 g ii 6) A) says just "if MODE is lax and <JSON method> is not > type or size, then let BASE be Unwrap(BASE)." No special exemption > there for string(), nor further below at C) XV) for the operation > of string().
Thank you! Cited that bit in the commit message in the attached patch (also available as a GitHub PR[1]). D [1]: https://github.com/theory/postgres/pull/5
v1-0001-Teach-jsonpath-string-to-unwrap-in-lax-mode.patch
Description: Binary data