r5585: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 31 Aug 2003 08:22:16 +0000 (08:22 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Sun, 31 Aug 2003 08:22:16 +0000 (08:22 +0000)
db-postgresql-socket/postgresql-socket-sql.lisp
debian/changelog

index a9cb8f5ed0536f78234ce77a2089084ba7b54b8b..a4d946b812c6ed64a5b7e6005b595c3664418e9d 100644 (file)
@@ -8,7 +8,7 @@
 ;;;;                Original code by Pierre R. Mai 
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: postgresql-socket-sql.lisp,v 1.2 2003/05/02 03:05:54 kevin Exp $
+;;;; $Id: postgresql-socket-sql.lisp,v 1.3 2003/08/31 08:22:16 kevin Exp $
 ;;;;
 ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;; and Copyright (c) 1999-2001 by Pierre R. Mai
@@ -150,7 +150,16 @@ doesn't depend on UFFI."
   (destructuring-bind (host db user password &optional port options tty)
       connection-spec
     (declare (ignore password options tty))
-    (concatenate 'string host (if port ":") (if port port) "/" db "/" user)))
+    (concatenate 'string 
+      (etypecase host
+       (pathname (namestring host))
+       (string host))
+      (when port 
+       (concatenate ":"
+         (etypecase port
+           (integer (write-to-string port))
+           (string port))))
+      "/" db "/" user)))
 
 (defmethod database-connect (connection-spec 
                             (database-type (eql :postgresql-socket)))
index 2f44cc5cb7c8bf46ba6e74428027e0c959d594ed..167faa1ae071bbe677018d693a1ebd217b1fcd6f 100644 (file)
@@ -1,3 +1,9 @@
+cl-sql (1.7.4-1) unstable; urgency=low
+
+  * New upstream (closes: 207813)
+
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 31 Aug 2003 02:19:45 -0600
+
 cl-sql (1.7.3-1) unstable; urgency=low
 
   * New upstream
@@ -5,7 +11,7 @@ cl-sql (1.7.3-1) unstable; urgency=low
   is preventing entire source package from moving into testing since
   acl-pro-installer is only supported on x86 and ppc.
   
- -- Kevin M. Rosenberg <kmr@debian.org>  Wed, 20 Aug 2003 10:57:50 -0600
+ -- Kevin M. Rosenberg <kmr@debian.org>  Sun, 31 Aug 2003 02:19:31 -0600
 
 cl-sql (1.7.2-1) unstable; urgency=low