From: Javier Olaechea Date: Fri, 15 Jan 2016 14:13:05 +0000 (-0500) Subject: postgresql-socket3: Handle unix sockets db names X-Git-Tag: v6.7.0~5 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=2957beac4e7ec04dd4420e4d1f9e300fee496508;ds=sidebyside postgresql-socket3: Handle unix sockets db names The keyword :unix is a valid host designator. If a keyword different from unix is used cl-postgres will raise an error so checking for type keyword suffices to assume "unix" as a name. --- diff --git a/db-postgresql-socket3/sql.lisp b/db-postgresql-socket3/sql.lisp index 0181637..3172e6d 100644 --- a/db-postgresql-socket3/sql.lisp +++ b/db-postgresql-socket3/sql.lisp @@ -109,6 +109,7 @@ (etypecase host (null "localhost") + (keyword "unix") (pathname (namestring host)) (string host)) (when port