rails/rails — pull request #17863 by tgxworld (2014-12-01 13:33:32+00:00)
Title: Fix value extracted from negative integers for PostgreSQL.

Fixes: https://github.com/rails/rails/issues/17856.