Bugs item #29237, was opened at 2011-05-30 21:26 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=29237&group_id=2014
Category: AR-JDBC Group: None Status: Open Resolution: None Priority: 3 Submitted By: Xuân Baldauf (mediumnet) Assigned to: Nobody (None) Summary: massive "WARNING: nonstandard use of \ in a string literal at character" entries in postgresql server log Initial Comment: When effectively using the arjdbc postgresql adapter's escape_bytea() or maybe also quote_string() method, postgresql complains like this: WARNING: nonstandard use of \ in a string literal at character 798 HINT: Use the escape string syntax for backslashes, e.g., E'\'. These complaints could be turned off, however, then many other relevant log entries of the postgresql log file would also be turned off, too. The solution is to properly use postgresql's escape mechanisms, e.g. http://www.postgresql.org/docs/9.0/static/datatype-binary.html#AEN5037 or http://www.postgresql.org/docs/9.0/static/datatype-binary.html#AEN5046 for bytea-data or just as postgresql itself suggests the E''-string escape format. ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7857&aid=29237&group_id=2014 _______________________________________________ Jruby-extras-devel mailing list [email protected] http://rubyforge.org/mailman/listinfo/jruby-extras-devel
