jruby/activerecord-jdbc-adapter — pull request #256 by GUI (2012-11-12 01:35:31+00:00)
Title: PostgreSQL: Fix standard_conforming_strings's default not being set

As @rsim pointed out in [his comments](https://github.com/jruby/activerecord-jdbc-adapter/pull/250#commitcomment-2094383), there were actually a couple issues with my earlier pull request to deal with PostgreSQL's quoting issues (sorry about that!). The issue was that PostgreSQL's default `standard_conforming_strings` setting on new connections wasn't actually being updated on the server as was intended (and as happens in ActiveRecord's default PostgreSQL adapter).

This should fix that issue, so even if your server's default `standard_conforming_strings` is off, all ActiveRecord connections will default to being on. I verified this fix against a PostgreSQL server with that setting turned off by default.

Thanks for the heads up, @rsim. Hopefully this one does the trick.