Fix postgresl adapter for rails 4.1.0.beta1

As of https://github.com/rails/rails/commit/ffbefc7e the signatures for
exec_cache and exec_no_cache are changed.