mirror of
https://github.com/dimitri/pgloader.git
synced 2025-08-07 23:07:00 +02:00
Take the column type definition such as char(24) rather than just char
This commit is contained in:
parent
f4ac2b67db
commit
d08ef5aeb7
@ -96,7 +96,7 @@ that would be int and int(7) or varchar and varchar(25).
|
|||||||
|
|
||||||
((string= dtype "datetime") "timestamptz")
|
((string= dtype "datetime") "timestamptz")
|
||||||
|
|
||||||
(t dtype)))
|
(t ctype)))
|
||||||
|
|
||||||
;; forget about stupid defaults
|
;; forget about stupid defaults
|
||||||
(default (cond ((and (string= dtype "datetime")
|
(default (cond ((and (string= dtype "datetime")
|
||||||
|
Loading…
Reference in New Issue
Block a user