more fixes to ext/pdo and ext/pdo_pgsql