Added preliminary support for PostgreSQL