- (server-name (odbc-dbi::get-odbc-info odbc-conn odbc::$SQL_SERVER_NAME))
- (dbms-name (odbc-dbi::get-odbc-info odbc-conn odbc::$SQL_DBMS_NAME))
- (type
- ;; need SERVER-NAME and DBMS-NAME because many drivers mix this up
- (cond
- ((or (search "postgresql" server-name :test #'char-equal)
- (search "postgresql" dbms-name :test #'char-equal))
- (unless (find-package 'clsql-postgresql)
- (ignore-errors (asdf:operate 'asdf:load-op 'clsql-postgresql-socket)))
- :postgresql)
+ (server-name (odbc-dbi::get-odbc-info odbc-conn odbc::$SQL_SERVER_NAME))
+ (dbms-name (odbc-dbi::get-odbc-info odbc-conn odbc::$SQL_DBMS_NAME))
+ (type
+ ;; need SERVER-NAME and DBMS-NAME because many drivers mix this up
+ (cond
+ ((or (search "postgresql" server-name :test #'char-equal)
+ (search "postgresql" dbms-name :test #'char-equal))
+ (unless (find-package 'clsql-postgresql)
+ (ignore-errors (asdf:operate 'asdf:load-op 'clsql-postgresql-socket)))
+ :postgresql)