[CDBI] Quoting reserved words.

Bill Moseley moseley at hank.org
Thu Jan 14 02:13:38 GMT 2010


Client upgraded to Postgresql 8.4 and started seeing this:

DBD::Pg::st execute failed: ERROR:  syntax error at or near "window"

Where "window" happens to be a column name in a class.

I remember that you can create an alias for a table name to deal with
reserved words, but I don't remember how to deal with column names that are
reserved words.

Found this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=361533


-- 
Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digitalcraftsmen.net/pipermail/classdbi/attachments/20100113/e471263c/attachment.htm 


More information about the ClassDBI mailing list