<br><br><div class="gmail_quote">On Sat, Mar 6, 2010 at 9:40 AM, Marijn Haverbeke <span dir="ltr"><<a href="mailto:marijnh@gmail.com">marijnh@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Daniel,<br>
<br>
Thanks for the code. However, :coerce is already there, named :type,<br>
and the way to-sql-string is currently used, it should A) not use<br>
S-SQL functions, since cl-postgres does not depend on S-SQL, and B)<br>
serialise to a format that can also be used to pass parameters to<br>
prepared queries. I'm not that knowledgeable about Postgres' textual<br>
formats, but it appears that a value like ARRAY[1, 2, 3] can not be<br>
written as a parameter:<br>
<br>
    Database error 22P02: array value must start with "{" or dimension<br>
information<br></blockquote><div><br></div><div>Pardon a vague response, but in my crack t postgres recently I do remember a minor aggravation with the two ways of saying "array". Probably just need to sort out which syntax to use when.</div>
<div><br></div><div>kt</div><div><br></div></div>