projects
/
clsql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c58d034
)
Added some postgres overloads for database-output-sql-as-type so that nullable floati...
author
russ@acceleration.net
<russ@acceleration.net>
Thu, 3 Jul 2008 16:34:09 +0000
(12:34 -0400)
committer
Nathan Bird
<nathan@acceleration.net>
Mon, 2 Feb 2009 19:31:28 +0000
(14:31 -0500)
sql/generic-postgresql.lisp
patch
|
blob
|
history
diff --git
a/sql/generic-postgresql.lisp
b/sql/generic-postgresql.lisp
index 70a8e9fb9dc8aa5887ad2f81e07faa26f83efefd..360d5fe4b1a623a8a412b9e3bf9fa40ec813f333 100644
(file)
--- a/
sql/generic-postgresql.lisp
+++ b/
sql/generic-postgresql.lisp
@@
-21,6
+21,13
@@
;; 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)))