Postgres odbc returns bigint's correctly now
authorNathan Bird <nathan@acceleration.net>
Mon, 20 Jun 2011 20:45:56 +0000 (16:45 -0400)
committerNathan Bird <nathan@acceleration.net>
Mon, 20 Jun 2011 20:55:22 +0000 (16:55 -0400)
At least with postgesql 8.4, and ubuntu odbc-postgresql 1:08.03.0200-1

tests/test-basic.lisp

index b0e85875b5dedc5fe90ebe09efbc4c806cbb68d5..9dad688c99954b7c4da456c12c2677e23a5f9fc7 100644 (file)
                     results)
              (destructuring-bind (int bigint) row
                (push (list (integerp int)
-                           (if (and (eq :odbc *test-database-type*)
-                                    (eq :postgresql *test-database-underlying-type*))
-                               ;; ODBC/Postgresql may return returns bigints as strings or integer
-                               ;; depending upon the platform
-                               t
-                               (integerp bigint)))
+                            (integerp bigint))
                      results)))))
       ((t t) (t t) (t t) (t t) (t t) (t t) (t t) (t t) (t t) (t t) (t t)))