Add int as an alias for integer.

We cast MS SQL "int" type to "integer" in PostgreSQL, so add an entry in our
type name mapping where they are known equivalent to avoid WARNINGs about
the situation in DATA ONLY loads.
This commit is contained in:
Dimitri Fontaine 2017-02-25 17:54:57 +01:00
parent 5fd1e9f3aa
commit 57dd9fcf47

View File

@ -115,7 +115,8 @@
(column-name target-column))))))
(defvar *type-name-mapping*
'(("serial" "integer")
'(("int" "integer")
("serial" "integer")
("bigserial" "bigint")
("char" "character")
("varchar" "character varying")