And based on this, a dispute arose among the Rishonim whether to say "shehecheyanu" in the kiddush and for the shofar on the second day of Rosh Hashanah. And the Tur brought a responsum from Rashi, of blessed memory, who wrote: My teachers say that one should not say the blessing of time on the second day, for it is as one day. But I say that one must say the blessing of time, for it is like a long day regarding other matters; however, the essence of the Yom Tov from the Torah is only one day. And most of the poskim agreed with Rashi. Yet in order to fulfill the opinion of the Geonim, the common custom in all lands is to take a new fruit at the time of kiddush, for in any case one must say "shehecheyanu"; or to wear a new garment. And for the shofar, where a fruit is not relevant—he should wear a new garment. And all this is not a requirement, for the common custom is to make "shehecheyanu" in all manners. And even though in kiddush we place a new fruit, behold, during the blasts the blower does not wear a new garment and bless "shehecheyanu." And so too in kiddush, if he does not have a new fruit—nevertheless he blesses "shehecheyanu." And so wrote our teacher, the Rema. (And the Beit Yosef regarding kiddush ruled to bless "shehecheyanu," but not regarding the blasts, except when the first day falls on Shabbat. And it is a wonder: what is the difference between shofar and kiddush? See the Beit Yosef, and it requires further study.)
ועל פי זה נתהווה מחלוקת בין הראשונים, אם לומר "שהחיינו" בקידוש ובשופר ביום שני של ראש השנה. והביא הטור תשובה מרש"י ז"ל שכתב: רבותי אומרים שאין לומר זמן בשני, דכחדא יומא הוא. ואני אומר שצריך לומר זמן, דהוא כיומא אריכתא לעניין שארי דברים, מיהו עיקר יום טוב מן התורה אינו אלא יום אחד. ורוב הפוסקים הסכימו כרש"י. אך כדי לצאת דעת הגאונים, המנהג הפשוט בכל המדינות ליקח פירי חדשה בשעת הקידוש, דממה נפשך צריך לומר "שהחיינו"; או ללבוש בגד חדש. ובשופר, שאין שייך פירי – ילבש בגד חדש. וכל זה אינו לעיכובא, דהמנהג הפשוט לעשות "שהחיינו" בכל גווני. ואף שבקידוש אנו מניחין פירי חדשה, הרי בתקיעות אין התוקע לובש בגד חדש ומברך "שהחיינו". וכן בקידוש אם אין לו פירי חדשה – עם כל זה מברך "שהחיינו". וכן כתב רבינו הרמ"א. (והבית יוסף בקידוש פסק לברך "שהחיינו", ולא בתקיעות, רק כשחל יום ראשון בשבת. והוא תימא: מאי שנא שופר מקידוש? ועיין בית יוסף, וצריך עיון.)