r8936: merged classic-tests into tests
[clsql.git] / db-postgresql / postgresql-loader.lisp
index 5a0f03932e44ee636080a35e7f7fc27b1a33dce6..48dd433315d3a4e819b6dbde95d23514ef7fbab0 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Programmer:    Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: postgresql-loader.lisp,v 1.1 2002/09/30 10:19:23 kevin Exp $
+;;;; $Id$
 ;;;;
 ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
@@ -16,8 +16,7 @@
 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
 ;;;; *************************************************************************
 
-(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
-(in-package :postgresql)
+(in-package #:postgresql)
 
 
 (defvar *postgresql-supporting-libraries* '("crypt" "c")
@@ -39,8 +38,11 @@ set to the right path before compiling or loading the system.")
                  '("/opt/postgresql/lib/" "/usr/local/lib/" 
                    "/usr/lib/" "/postgresql/lib/"
                    "/usr/local/pgsql/lib/" "/usr/lib/pgsql/"
-                   "/opt/pgsql/lib/pgsql")
-                 :drive-letters '("C" "D" "E"))))
+                   "/opt/pgsql/lib/pgsql" "/sw/lib/pgsql/")
+                 :drive-letters '("C" "D" "E")
+                 #+(or macosx darwin ccl-5.0) :types
+                 #+(or macosx darwin ccl-5.0) '("so")
+                 )))
     (if        (uffi:load-foreign-library libpath
                                   :module "postgresql"
                                   :supporting-libraries