mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
Dropped wrong associations of PG types to datetime object
The wrong associations are overwritten in the typecaster map by the right ones, so they have been harmless to date, but only because of the order of creation of the adapters.
This commit is contained in:
parent
496cef80c4
commit
338dbe70a6
|
@ -6,7 +6,7 @@ static long int typecast_DECIMAL_types[] = {1700, 0};
|
||||||
static long int typecast_UNICODE_types[] = {19, 18, 25, 1042, 1043, 0};
|
static long int typecast_UNICODE_types[] = {19, 18, 25, 1042, 1043, 0};
|
||||||
static long int typecast_STRING_types[] = {19, 18, 25, 1042, 1043, 0};
|
static long int typecast_STRING_types[] = {19, 18, 25, 1042, 1043, 0};
|
||||||
static long int typecast_BOOLEAN_types[] = {16, 0};
|
static long int typecast_BOOLEAN_types[] = {16, 0};
|
||||||
static long int typecast_DATETIME_types[] = {1114, 1184, 704, 1186, 0};
|
static long int typecast_DATETIME_types[] = {1114, 0};
|
||||||
static long int typecast_DATETIMETZ_types[] = {1184, 0};
|
static long int typecast_DATETIMETZ_types[] = {1184, 0};
|
||||||
static long int typecast_TIME_types[] = {1083, 1266, 0};
|
static long int typecast_TIME_types[] = {1083, 1266, 0};
|
||||||
static long int typecast_DATE_types[] = {1082, 0};
|
static long int typecast_DATE_types[] = {1082, 0};
|
||||||
|
@ -20,7 +20,7 @@ static long int typecast_DECIMALARRAY_types[] = {1231, 0};
|
||||||
static long int typecast_UNICODEARRAY_types[] = {1002, 1003, 1009, 1014, 1015, 0};
|
static long int typecast_UNICODEARRAY_types[] = {1002, 1003, 1009, 1014, 1015, 0};
|
||||||
static long int typecast_STRINGARRAY_types[] = {1002, 1003, 1009, 1014, 1015, 0};
|
static long int typecast_STRINGARRAY_types[] = {1002, 1003, 1009, 1014, 1015, 0};
|
||||||
static long int typecast_BOOLEANARRAY_types[] = {1000, 0};
|
static long int typecast_BOOLEANARRAY_types[] = {1000, 0};
|
||||||
static long int typecast_DATETIMEARRAY_types[] = {1115, 1185, 0};
|
static long int typecast_DATETIMEARRAY_types[] = {1115, 0};
|
||||||
static long int typecast_DATETIMETZARRAY_types[] = {1185, 0};
|
static long int typecast_DATETIMETZARRAY_types[] = {1185, 0};
|
||||||
static long int typecast_TIMEARRAY_types[] = {1183, 1270, 0};
|
static long int typecast_TIMEARRAY_types[] = {1183, 1270, 0};
|
||||||
static long int typecast_DATEARRAY_types[] = {1182, 0};
|
static long int typecast_DATEARRAY_types[] = {1182, 0};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user