Adding support for PostgreSQL