Adapt for PostgreSQL >= 9.2 since pid column changed
Regenerate gemspec for version 0.1.7