Don't include sizes on primitive datatypes that shouldn't have them when modifying columns. Fixes #3052

This commit is contained in:
Harshal Dhumal
2018-02-01 16:27:36 +01:00
committed by Dave Page
parent 6ad44cb51e
commit 2042f89ce0
4 changed files with 47 additions and 17 deletions
@@ -82,10 +82,9 @@ RECORD_ARRAY = (2287,)
PSYCOPG_SUPPORTED_BUILTIN_ARRAY_DATATYPES = (
1016, 1005, 1006, 1007, 1021, 1022, 1231,
1002, 1003, 1009, 1014, 1015, 1002, 1003,
1009, 1014, 1015, 1000, 1115, 1185, 1183,
1270, 1182, 1187, 1001, 1028, 1013, 1041,
651, 1040
1002, 1003, 1009, 1014, 1015, 1009, 1014,
1015, 1000, 1115, 1185, 1183, 1270, 1182,
1187, 1001, 1028, 1013, 1041, 651, 1040
)
# json, jsonb