(destructuring-bind (int float bigint str) row
(push (list (integerp int)
(typep float 'double-float)
- (if (member *test-database-type* '(:odbc :aodbc))
- t
+ (if (and (eq :odbc *test-database-type*)
+ (eq :postgresql *test-database-underlying-type*))
+ ;; ODBC/Postgresql returns bigints as strings
+ (stringp bigint)
(integerp bigint))
(stringp str))
results))))
(let ((results '())
(rows (map-query 'vector #'list "select * from TYPE_TABLE"
:result-types nil)))
+ (declare (array rows))
(dotimes (i (length rows) results)
(push
(list
(let ((*read-default-float-format* 'double-float))
(coerce (read-from-string num-str) 'double-float)))
-(defun test-table-row (row types)
-)
-
-
(defun double-float-equal (a b)
(if (zerop a)
(if (zerop b)