Re: [pgadmin-hackers] [pgAdmin4][PATCH] To fix the of issue in table node - Mailing list pgadmin-hackers

From Murtuza Zabuawala
Subject Re: [pgadmin-hackers] [pgAdmin4][PATCH] To fix the of issue in table node
Date
Msg-id CAKKotZT0tumuUMJYg5czrH4NBkaxKHdvnGkXyeh+F+BG3pejOQ@mail.gmail.com
Whole thread Raw
In response to [pgadmin-hackers] [pgAdmin4][PATCH] To fix the of issue in table node  (Murtuza Zabuawala <murtuza.zabuawala@enterprisedb.com>)
List pgadmin-hackers
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,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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#2284

Issue is when use json.loads() it converts string "123" into integer 123.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Attachment

pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: [pgadmin-hackers] [pgAdmin4][PATCH] To fix the of issue in table node
Next
From: Sarah McAlear
Date:
Subject: Re: [pgadmin-hackers][patch] Dependents and Dependencies in GreenPlum