>
> Hi,
>
> PFA minor patch to fix the the issue with bigint[] array values as JS
> truncates long numbers from array object.
> RM#2272
>
> --
> Regards,
> Murtuza Zabuawala
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>
diff --git a/web/pgadmin/utils/driver/psycopg2/__init__.py 
b/web/pgadmin/utils/driver/psycopg2/__init__.py
index 76a1cef..e474817 100644
--- a/web/pgadmin/utils/driver/psycopg2/__init__.py
+++ b/web/pgadmin/utils/driver/psycopg2/__init__.py
@@ -58,8 +58,8 @@ psycopg2.extensions.register_type(
             17, 1186,
             # to cast int4range, int8range, numrange tsrange, tstzrange, 
daterange
             3904,3926, 3906, 3908, 3910, 3912, 3913,
-            # date, timestamp, timestamptz, bigint, double precision
-            1700, 1082, 1114, 1184, 20, 701
+            # date, timestamp, timestamptz, bigint, double precision, bigint[]
+            1700, 1082, 1114, 1184, 20, 701, 1016
          ),
         'TYPECAST_TO_STRING', psycopg2.STRING)
 )
-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to