From 2957beac4e7ec04dd4420e4d1f9e300fee496508 Mon Sep 17 00:00:00 2001 From: Javier Olaechea Date: Fri, 15 Jan 2016 09:13:05 -0500 Subject: [PATCH] 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. --- db-postgresql-socket3/sql.lisp | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1