r10742: 17 Sep 2005 Kevin Rosenberg <kevin@rosenberg.net>
[clsql.git] / db-postgresql-socket / postgresql-socket-sql.lisp
index ab4d71069ab6cdbf98ef9b47ea1ddd11eb5ebda2..7a56931070229f6262b08f28c0d36dc06c2d90c3 100644 (file)
@@ -182,7 +182,7 @@ doesn't depend on UFFI."
     (handler-case
        (handler-bind ((postgresql-warning
                        (lambda (c)
-                         (warn 'clsql-simple-warning
+                         (warn 'sql-warning
                                :format-control "~A"
                                :format-arguments
                                (list (princ-to-string c))))))
@@ -342,7 +342,7 @@ doesn't depend on UFFI."
 
 (defmethod database-probe (connection-spec (type (eql :postgresql-socket)))
   (when (find (second connection-spec) (database-list connection-spec type)
-             :key #'car :test #'string-equal)
+              :test #'string-equal)
     t))