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.
|