mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
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:
parent
5fd1e9f3aa
commit
57dd9fcf47
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user