[CDBI] Quoting reserved words.
Bill Moseley <[email protected]> Wed, 13 Jan 2010 18:13:38 -0800
| Newsgroups | gmane.comp.lang.perl.modules.class-dbi |
|---|---|
| Message-ID | <[email protected]> |
--===============0396126236== Content-Type: multipart/alternative; boundary=001636b2ac69905dd4047d16705a --001636b2ac69905dd4047d16705a Content-Type: text/plain; charset=ISO-8859-1 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 [email protected] --001636b2ac69905dd4047d16705a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Client upgraded to Postgresql 8.4 and started seeing this:<br><br>DBD::Pg::= st execute failed: ERROR: =A0syntax error at or near "window"<br>= <br>Where "window" happens to be a column name in a class.<br><br= > I remember that you can create an alias for a table name to deal with reser= ved words, but I don't remember how to deal with column names that are = reserved words.<br><br>Found this: <br clear=3D"all"><a href=3D"http://bugs= .debian.org/cgi-bin/bugreport.cgi?bug=3D361533">http://bugs.debian.org/cgi-= bin/bugreport.cgi?bug=3D361533</a><br> <br><br>-- <br>Bill Moseley<br><a href=3D"mailto:[email protected]">moseley@= hank.org</a><br> --001636b2ac69905dd4047d16705a-- --===============0396126236== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ClassDBI mailing list ClassDBI-Ra3b/[email protected] http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi --===============0396126236==--