Adding support for PostgreSQL 9.2.0+