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.