Prepare for Rails 4.1 support from postgres_ext gem

See https://github.com/dockyard/postgres_ext/pull/124