Fix support for time without timezone. Fixes #2881

This commit is contained in:
Murtuza Zabuawala 2017-11-20 13:36:50 +00:00 committed by Dave Page
parent 5fd3a7dd3d
commit 2579458091

View File

@ -81,8 +81,8 @@ pg_types_to_string_type = psycopg2.extensions.new_type(
# date, timestamp, timestamptz, bigint, double precision
1700, 1082, 1114, 1184, 20, 701,
# real
700
# real, time without time zone
700, 1083, 1183
),
'TYPECAST_TO_STRING', psycopg2.STRING
)