Also catch PG::Exception when using pg >= 0.17 with rails 3.2