X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-postgresql-socket%2Fpostgresql-socket-sql.lisp;h=7a56931070229f6262b08f28c0d36dc06c2d90c3;hp=ab4d71069ab6cdbf98ef9b47ea1ddd11eb5ebda2;hb=fc58e4fb7d908985389c86adf57ddee6c1dde5d2;hpb=bb2818fb8a6714a55b360dec0bb043c5edccb3f4 diff --git a/db-postgresql-socket/postgresql-socket-sql.lisp b/db-postgresql-socket/postgresql-socket-sql.lisp index ab4d710..7a56931 100644 --- a/db-postgresql-socket/postgresql-socket-sql.lisp +++ b/db-postgresql-socket/postgresql-socket-sql.lisp @@ -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))