Hi Dave,

Please find updated patch.

*Changes:*

1) Add typecaster for numeric and double precision.

2) As numeric data is typecasted into string type, we need not to do
parseInt value in javascript.

3) Remove redundant code for registering new types.


On Mon, Jan 9, 2017 at 9:11 AM, Dave Page <[email protected]> wrote:

> Hi
>
> On Friday, December 23, 2016, Surinder Kumar <
> [email protected]> wrote:
>
>> Hi,
>>
>> Added 'numeric' type into string typecaster to prevent python from
>> rounded up.
>>
>> Please find attached patch and review.
>>
>
> I'm still seeing rounding with this patch applied - e.g. with:
>
> select 12345678901234567890::numeric
>
> Something in the JS perhaps?
>
>
>

Attachment: RM2039_v2.patch
Description: Binary data

-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to