Gold prices extended their record rally on Wednesday, buoyed by a weaker dollar and safe-haven demand from escalating tensions in the Middle East, while investors looked forward to more U.S. economic data for policy clues.