[pgAdmin][Patch] RM 5463 - CSV download quotes numeric columns - Mailing list pgadmin-hackers

From Yogesh Mahajan
Subject [pgAdmin][Patch] RM 5463 - CSV download quotes numeric columns
Date
Msg-id CAMa=N=OHt_vZOqDSF+ckFa=Nq18Cuem3tT0HSyhdZe9swNp13Q@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][Patch] RM 5463 - CSV download quotes numeric columns  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
List pgadmin-hackers
Hi,

Please find a patch which fixes the issue of quoting values of numeric data types like 'bigint, numeric, double precision & real'.

The issue was caused because global type caster are registered for connection in order to avoid javascript compatibility issue for large size data types like real, numeric, double precision, bigint.
Typcaster used to cast these data type values into String, causing quotes to numeric data in downloaded CSV files in case of  "CSV quoting = Strings".

As part of fix, type caster is temporarily unregistered for these numeric data types while creating CSV file & registered back after csv file creation.



Thanks,
Yogesh Mahajan
QA - Team
EnterpriseDB Corporation

Phone: +91-9741705709
Attachment

pgadmin-hackers by date:

Previous
From: Rahul Shirsat
Date:
Subject: [pgAdmin4][Patch] - SonarQube Fixes
Next
From: Rahul Shirsat
Date:
Subject: Re: [pgAdmin][RM5569] [SQL] Bad display of tables storage parameters in the "SQL" tab (correction of bug #5398 not complete)