projects
/
clsql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6ba1e44
)
postgresql-socket3: Handle unix sockets db names
author
Javier Olaechea
<pirata@gmail.com>
Fri, 15 Jan 2016 14:13:05 +0000
(09:13 -0500)
committer
Russ Tyndall
<russ@acceleration.net>
Sun, 17 Jan 2016 17:35:10 +0000
(12:35 -0500)
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
patch
|
blob
|
history
diff --git
a/db-postgresql-socket3/sql.lisp
b/db-postgresql-socket3/sql.lisp
index 01816379e71a68da3f7d82c0714bad974b756a19..3172e6dbd7b2881aaebc1f9c2008fe1aa6aa1eeb 100644
(file)
--- a/
db-postgresql-socket3/sql.lisp
+++ b/
db-postgresql-socket3/sql.lisp
@@
-109,6
+109,7
@@
(etypecase host
(null
"localhost")
(etypecase host
(null
"localhost")
+ (keyword "unix")
(pathname (namestring host))
(string host))
(when port
(pathname (namestring host))
(string host))
(when port