postgresql-socket3: Handle unix sockets db names
[clsql.git] / db-postgresql-socket3 / sql.lisp
index db3ba86e8942660c51e73779d5645a4a1251742e..3172e6dbd7b2881aaebc1f9c2008fe1aa6aa1eeb 100644 (file)
       (etypecase host
         (null
          "localhost")
+        (keyword "unix")
         (pathname (namestring host))
         (string host))
       (when port
   (clsql-sys:initialize-database-type :database-type :postgresql-socket3))
 
 
-;; Type munging functions
-
-(defmethod read-sql-value (val (type (eql 'boolean)) (database postgresql-socket3-database) db-type)
-  (declare (ignore database db-type))
-  val)
-
-(defmethod read-sql-value (val (type (eql 'generalized-boolean)) (database postgresql-socket3-database) db-type)
-  (declare (ignore database db-type))
-  val)