NEW YORK (Reuters) - Major stock indexes edged up to post record closing highs on Wednesday with sector moves in the S&P 500 showing preference toward so-called defensive stocks.