Added some postgres overloads for database-output-sql-as-type so that nullable floati...
authorruss@acceleration.net <russ@acceleration.net>
Thu, 3 Jul 2008 16:34:09 +0000 (12:34 -0400)
committerNathan Bird <nathan@acceleration.net>
Mon, 2 Feb 2009 19:31:28 +0000 (14:31 -0500)
sql/generic-postgresql.lisp

index 70a8e9fb9dc8aa5887ad2f81e07faa26f83efefd..360d5fe4b1a623a8a412b9e3bf9fa40ec813f333 100644 (file)
 
 
 ;; Object functions
+(defmethod database-output-sql-as-type ((type (eql 'float)) val database (db-type (eql :postgresql)))
+  (declare (ignore database db-type))
+  val)
+
+(defmethod database-output-sql-as-type ((type (eql 'float)) val database (db-type (eql :postgresql-socket)))
+  (declare (ignore database db-type))
+  val)
 
 (defmethod database-get-type-specifier (type args database
                                         (db-type (eql :postgresql)))