Re: SQL/JSON revisited

From: Amit Langote <amitlangote09(at)gmail(dot)com>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: vignesh C <vignesh21(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Andrew Dunstan <andrew(at)dunslane(dot)net>, e(dot)indrupskaya(at)postgrespro(dot)ru
Subject: Re: SQL/JSON revisited
Date: 2023-02-21 05:40:09
Message-ID: CA+HiwqFnsckOkTc9FvrzCTFC54PGCpN2DFSXB1vnhVWcSW85bA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Feb 21, 2023 at 12:09 PM Amit Langote <amitlangote09(at)gmail(dot)com> wrote:
> On Mon, Feb 20, 2023 at 11:41 PM Erik Rijkers <er(at)xs4all(dot)nl> wrote:
> > Op 20-02-2023 om 08:35 schreef Amit Langote:
> > > Rebased again over queryjumble overhaul.
> > But the following statement is a problem. It does not crash but it goes
> > off, half-freezing the machine, and only comes back after fanatic
> > Ctrl-C'ing.
> >
> > select json_query(jsonb '[3,4]', '$[*]' returning bigint[] empty object
> > on error);
> >
> > Can you have a look?
>
> Thanks for the test case. It caused ExecInterpExpr() to enter an
> infinite loop, which I've fixed in the attached updated version. I've
> also merged Elena's documentation changes; I can see that
> <replaceable> is more correct.

Oops, I hadn't actually done the latter. Will do when posting the next version.

--
Thanks, Amit Langote
EDB: http://www.enterprisedb.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2023-02-21 05:49:48 Re: WAL Insertion Lock Improvements
Previous Message Nathan Bossart 2023-02-21 04:50:39 Re: Weird failure with latches in curculio on v15