Dow posts eighth day of gains