Modified get_last_insert_id() in the PostgreSQL PDO driver.