Adapt for changes in PostgreSQL 9.3.x
Merge pull request #422 from guillermo-carrasco/master

Adapt for changes in PostgreSQL 9.3.x