Dear Mr. Haverbeke,
It was an stupid mistake on my side, I had another query in the code I have been playing with, and that one wasn't with the "with-connection" and ":pooled-p". I appologize for wasting your time, I will try my best not to do so again.
On Tue, Nov 23, 2010 at 13:13, Marijn Haverbeke marijnh@gmail.com wrote:
Hi Slobodan,
Firstly, your snippet works for me (if I substitute meaningful stuff for your placeholders), and should work -- the inner with-db should open (or fetch from the pool) a fresh connection, that can be used even while the outer connection is processing a query (doquery will run its body while the database is returning the result rows). I tested against PostgreSQL 9.0.
So, since you don't really describe what kind of error you are getting, you'll have to be more specific (maybe give me a full example, including tables and some test data) for me to be able to debug this.
Best, Marijn
postmodern-devel mailing list postmodern-devel@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/postmodern-devel