Re: pg_parse_json() should not leak token copies on failure

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Jacob Champion <jacob.champion@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org, Michael Paquier <michael@paquier.xyz>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Date: 2024-11-27T17:15:42Z
Lists: pgsql-hackers
On 2024-10-31 Th 5:10 PM, Jacob Champion wrote:
> On Mon, Oct 7, 2024 at 3:45 PM Jacob Champion
> <jacob.champion@enterprisedb.com> wrote:
>> I've added a 0002 as well.
> 0002 has since been applied [1] so I'm reattaching v4-0001 to get the
> cfbot happy again.
>
> --Jacob
>
> [1] https://git.postgresql.org/cgit/postgresql.git/commit/?id=41b023946d




Thanks, committed.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




Commits

  1. jsonapi: add lexer option to keep token ownership