PDO_PGSQL improvements