Re: More new SQL/JSON item methods - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: More new SQL/JSON item methods
Date
Msg-id e913dde5-0209-441c-8040-dd2ace6415e0@eisentraut.org
Whole thread Raw
In response to Re: More new SQL/JSON item methods  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
Responses Re: More new SQL/JSON item methods
List pgsql-hackers
On 07.12.23 14:24, Jeevan Chalke wrote:
> We have the same issue with integer conversion and need a fix.
> 
> Unfortunately, I was using int8in() for the conversion of numeric 
> values. We should be using numeric_int8() instead. However, there is no 
> opt_error version of the same.
> 
> So, I have introduced a numeric_int8_opt_error() version just like we 
> have one for int4, i.e. numeric_int4_opt_error(), to suppress the error. 
> These changes are in the 0001 patch. (All other patch numbers are now 
> increased by 1)
> 
> I have used this new function to fix this reported issue and used 
> numeric_int4_opt_error() for integer conversion.

I have committed the 0001 and 0002 patches for now.

The remaining patches look reasonable to me, but I haven't reviewed them 
in detail.



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: WIP Incremental JSON Parser
Next
From: "Andrey M. Borodin"
Date:
Subject: Re: Transaction timeout