X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-postgresql%2Fpostgresql-sql.lisp;h=70cf3b169205e0cfb10e430b348e3f9d2099282e;hb=967266c94b00f91e5967b8330fe2b9134b0c0447;hp=3d1eca3a2b614c4ec2a4d4576d22b72536514899;hpb=db9892632e6eb7869aea7a94c16b523a82de1501;p=clsql.git diff --git a/db-postgresql/postgresql-sql.lisp b/db-postgresql/postgresql-sql.lisp index 3d1eca3..70cf3b1 100644 --- a/db-postgresql/postgresql-sql.lisp +++ b/db-postgresql/postgresql-sql.lisp @@ -601,5 +601,13 @@ (setf conn-ptr (%pg-database-connection connection-spec)) database)))) +;;; Database capabilities + +(defmethod db-type-has-fancy-math? ((db-type (eql :postgresql))) + t) + +(defmethod db-type-default-case ((db-type (eql :postgresql))) + :lower) + (when (clsql-base-sys:database-type-library-loaded :postgresql) (clsql-base-sys:initialize-database-type :database-type :postgresql))