A number of producers of heterogeneous goods with heterogeneous costs compete in prices. When producers know their own production costs and consumers know their values, consumer surplus and total surplus are aligned: the information structure and equilibrium that maximize consumer surplus also maximize total surplus. We report when alignment extends to the case where either consumers are uncertain about their own values or producers are uncertain about their own costs, and we also give examples showing when it does not. Less information for either producers or consumers may intensify competition in a way that benefits consumers but results in inefficient production