[postmodern-devel] with-connection problem

Jens Teich info at jensteich.de
Fri Aug 17 11:19:19 UTC 2007


What's wrong here? Tested with LW and SBCL.

Thanks Jens

POMO> (with-connection ("web_access" "web_access" "***" "localhost")
 (query (:select '* :from 'dokumente-files)))
(("s5s732006l9t5i0ai3a308281gwdh5      " "z_z15p02"
  "Bilddata/AZ/Pdf/Az15_16/baumuste" "pdf" 1914355)
  ......

POMO> (defparameter *db* '("web_access" "web_access" "***" "localhost"))
*DB*

POMO> (with-connection *db*
 (query (:select '* :from 'dokumente-files)))

error while parsing arguments to DEFMACRO WITH-CONNECTION:
  bogus sublist
    *DB*
  to satisfy lambda-list
    (DATABASE USER PASSWORD HOST &KEY (PORT 5432) POOLED-P)
   [Condition of type SB-KERNEL::DEFMACRO-BOGUS-SUBLIST-ERROR]





More information about the postmodern-devel mailing list