X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=sql%2Fgeneric-postgresql.lisp;h=25f67082b6e123974477922f16cd3c3784c81120;hp=70a8e9fb9dc8aa5887ad2f81e07faa26f83efefd;hb=d2d49ab13c98bc7a1819a0fd3968268a5567bdc3;hpb=e567409d9fff3f7231c2a0bb69b345e19de2b246 diff --git a/sql/generic-postgresql.lisp b/sql/generic-postgresql.lisp index 70a8e9f..25f6708 100644 --- a/sql/generic-postgresql.lisp +++ b/sql/generic-postgresql.lisp @@ -1,8 +1,6 @@ ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*- ;;;; ************************************************************************* ;;;; -;;;; $Id$ -;;;; ;;;; Generic postgresql layer, used by db-postgresql and db-postgresql-socket ;;;; ;;;; This file is part of CLSQL. @@ -244,9 +242,9 @@ database nil nil))))) (defun postgresql-database-list (connection-spec type) - (destructuring-bind (host name user password) connection-spec + (destructuring-bind (host name &rest other-args) connection-spec (declare (ignore name)) - (let ((database (database-connect (list host "template1" user password) + (let ((database (database-connect (list* host "template1" other-args) type))) (unwind-protect (progn