r9123: test & capability updates
[clsql.git] / db-postgresql-socket / postgresql-socket-sql.lisp
index 6307f05f662c7275ad363d5f170d8cea09b35edb..c63c58d0b3d5b39a1cb0921694b03f22180b82d8 100644 (file)
@@ -504,5 +504,15 @@ doesn't depend on UFFI."
            (sql-escape (string-downcase table)))
    database :auto))
 
+
+;; Database capabilities
+
+(defmethod db-backend-has-create/destroy-db? ((db-type (eql :postgresql-socket)))
+  nil)
+
+(defmethod db-type-has-fancy-math? ((db-type (eql :postgresql-socket)))
+  t)
+
+
 (when (clsql-base-sys:database-type-library-loaded :postgresql-socket)
   (clsql-base-sys:initialize-database-type :database-type :postgresql-socket))