[pgadmin-hackers] [pgAdmin4][PATCH] To fix the of issue in table node
[pgadmin-hackers] [pgAdmin4][PATCH] To fix the of issue in table node
Hi,
PFA minor patch to fix the issue in table node where it fails to create table when user provides numeric table name eg: 123.
RM#2284
Issue is when use json.loads() it converts string "123" into integer 123.
--
Regards,
Re: [pgadmin-hackers] [pgAdmin4][PATCH] To fix the of issue in table node
Hi,
Please find updated patch.
Updated logic to convert name only if name is of type int/long/float (Python2) or of type int/float (Python3) instead of blindly convert it to string.
--
Regards,
On Tue, May 9, 2017 at 7:06 PM, Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com> wrote:
Hi,PFA minor patch to fix the issue in table node where it fails to create table when user provides numeric table name eg: 123.RM#2284Issue is when use json.loads() it converts string "123" into integer 123.--Regards,