Re: [postmodern-devel] Compile error: about to bind S-SQL::CH to NIL, which is not of type CHARACTER.

2010-05-16 Thread Marijn Haverbeke
> It's a brand new install of ACL 8.2 Express Edition fully patched running on > OS X 10.6.3. Ah, that would also explain this. Does everything work if you just comment out the offending :of-type? Will you report the bug to Franz, or shall I do it? (Because this is definitely a bug in their imple

Re: [postmodern-devel] Passing a list to a prepared query

2010-05-16 Thread Sebastian Tennant
Quoth Marijn Haverbeke : > I think that Postgres doesn't allow the right-hand side of IN to be an > $-parameter. Try something like > this: > > (defprepared addresses-by-ids > "SELECT address FROM users WHERE id = ANY($1)" :column) > > I think you'll still have to convert your list to a vecto