Fix handling of bigint[] type. Fixes #2272

This commit is contained in:
Murtuza Zabuawala
2017-04-25 12:24:02 +05:30
committed by Akshay Joshi
parent 928c0d3de8
commit 38c8a4fb60

View File

@@ -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)
)