[postmodern-devel] Incorrect :cast compilation

Yuri Vishnevsky vishnevsky at gmail.com
Tue Oct 28 07:24:08 UTC 2008


Hi.

I've upgraded from postmodern-0.24 to 1.13 recently and noticed that :cast
is incorectly escaped in sql expressions.

(sql-compile '(:cast (:as value :BIGINT)))

produces

\"cast\"(value AS bigint)

which results in postgres error.


Removing "cast" from s-sql::*postgres-reserved-words* seems to fix the
things.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/postmodern-devel/attachments/20081028/a6e66023/attachment.html>


More information about the postmodern-devel mailing list