Take the column type definition such as char(24) rather than just char

This commit is contained in:
Dimitri Fontaine 2013-03-05 10:54:05 +01:00
parent f4ac2b67db
commit d08ef5aeb7

View File

@ -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")