projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r9874: 14 Aug 2004 Kevin Rosenberg <kevin@rosenberg.net>
[clsql.git]
/
db-postgresql
/
postgresql-loader.lisp
diff --git
a/db-postgresql/postgresql-loader.lisp
b/db-postgresql/postgresql-loader.lisp
index 169588f742e02fabb4d4992a66a051e8296aa3f3..e33f1354db5d2aaf055f74bf99bbbce97ac07721 100644
(file)
--- a/
db-postgresql/postgresql-loader.lisp
+++ b/
db-postgresql/postgresql-loader.lisp
@@
-27,11
+27,11
@@
set to the right path before compiling or loading the system.")
(defvar *postgresql-library-loaded* nil
"T if foreign library was able to be loaded successfully")
(defvar *postgresql-library-loaded* nil
"T if foreign library was able to be loaded successfully")
-(defmethod clsql-
base
:database-type-library-loaded ((database-type
+(defmethod clsql-
sys
:database-type-library-loaded ((database-type
(eql :postgresql)))
*postgresql-library-loaded*)
(eql :postgresql)))
*postgresql-library-loaded*)
-(defmethod clsql-
base
:database-type-load-foreign ((database-type
+(defmethod clsql-
sys
:database-type-load-foreign ((database-type
(eql :postgresql)))
(let ((libpath (uffi:find-foreign-library
"libpq"
(eql :postgresql)))
(let ((libpath (uffi:find-foreign-library
"libpq"
@@
-51,5
+51,5
@@
set to the right path before compiling or loading the system.")
(setq *postgresql-library-loaded* t)
(warn "Can't load PostgreSQL client library ~A" libpath))))
(setq *postgresql-library-loaded* t)
(warn "Can't load PostgreSQL client library ~A" libpath))))
-(clsql-
base
:database-type-load-foreign :postgresql)
+(clsql-
sys
:database-type-load-foreign :postgresql)