Getting the database backend to use PDO instead of PHP's postgresql_functions