Re: Jsonpath ** vs lax mode - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Jsonpath ** vs lax mode
Date
Msg-id 20210120181634.GA19308@alvherre.pgsql
Whole thread Raw
In response to Jsonpath ** vs lax mode  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: Jsonpath ** vs lax mode
List pgsql-hackers
On 2021-Jan-20, Alexander Korotkov wrote:

> My proposal is to make everything after the ** operator use strict mode
> (patch attached).  I think this shouldn't be backpatched, just applied to
> the v14.  Other suggestions?

I think changing the mode midway through the operation is strange.  What
do you think of requiring for ** that mode is strict?  That is, if ** is
used and the mode is lax, an error is thrown.

Thanks

-- 
Álvaro Herrera       Valdivia, Chile



pgsql-hackers by date:

Previous
From: Alexey Kondratov
Date:
Subject: Re: Allow CLUSTER, VACUUM FULL and REINDEX to change tablespace on the fly
Next
From: Alvaro Herrera
Date:
Subject: Re: strange error reporting