;; 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-output-sql ((self wall-time) (database generic-postgresql-database))
+ (declare (ignore database))
+ (concatenate 'string "'" (format-time nil self :format :iso8601) "'"))
+
+(defmethod database-output-sql ((self date) (database generic-postgresql-database))
+ (declare (ignore database))
+ (concatenate 'string "'" (format-time nil (date->time self) :format :iso8601) "'"))
(defmethod database-get-type-specifier (type args database
(db-type (eql :postgresql)))