Update postgresql.rb

Fixing issue for Rails 4.0.8