Re: Shouldn't jsonpath .string() Unwrap? - Mailing list pgsql-hackers

From David E. Wheeler
Subject Re: Shouldn't jsonpath .string() Unwrap?
Date
Msg-id A91C6D1C-895C-460D-87FB-8DAF4A4CB116@justatheory.com
Whole thread Raw
In response to Re: Shouldn't jsonpath .string() Unwrap?  (Chapman Flack <jcflack@acm.org>)
Responses Re: Shouldn't jsonpath .string() Unwrap?
List pgsql-hackers
On Jun 13, 2024, at 21:55, Chapman Flack <jcflack@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



Attachment

pgsql-hackers by date:

Previous
From: Nazir Bilal Yavuz
Date:
Subject: Re: CI and test improvements
Next
From: Tom Lane
Date:
Subject: Re: may be a buffer overflow problem