jruby/activerecord-jdbc-adapter — pull request #248 by pjungwir (2012-10-10 22:42:19+00:00)
Title: Tell Postgres to accept backslashes in strings.

This was the default prior to 9.1, but as of 9.1 a backslash in a Postgres string is just a backslash, unless you say `SET standard_conforming_strings=off`.

Please see my bug report for why this is a problem:

https://github.com/jruby/activerecord-jdbc-adapter/issues/247

This change should have no effect on users running older versions of Postgres, but will fix the escaping problem for users running 9.1+.