Added support for PostgreSQL and support for other PDO drivers