And what constitutes two cooked foods? Behold, things that are eaten raw, such as fruits and vegetables that are eaten raw—they are not included in the category of cooked foods, and one may eat many types of them, for a cooked food is only a "cooked food," as its name implies, that which is cooked. And if one cooked them, even if they are eaten raw—they are considered a cooked food. This is not like those who say that something eaten as it is raw is not considered a cooked food even when one cooked them, as in the matter of the cooking of idolaters, for here we do not descend to that, and many good dishes are made from this, and therefore they are considered a cooked food (Tur). And there is reason to doubt whether pickled and salted items are considered a cooked food, such as a salted fish called herring, or a vegetable pickled in vinegar, or in water, for twenty-four hours. And in my humble opinion, it seems that this is not in the category of a cooked food, though there is one who forbids in the case of pickling (She'elat Teshuvah in the name of Knesset HaGedolah). And his reasoning seems to be: because we hold that pickling is like cooking. But in my opinion, there is no connection between these, for that is only regarding the matter of absorption and discharge, and not regarding the status of a cooked food. And the proof is from Nedarim, for one who vows against cooked food is only forbidden in a cooked food that is roasted, or seethed, or cooked—and not in pickled or salted items, as is proven in Yoreh Deah siman 217, see there. And since the sages only forbade two cooked foods, pickling and salting are not included in this. And so it seems to me to be the primary view. And even though regarding the matter of eruv tavshilin pickling is also effective, as I wrote in siman 527, this is not a comparison. For behold, there a cooked food with which one does not eat bread is not effective, such as porridge, as I wrote there. But here it is certainly considered a cooked food. Rather, there is no connection between these, for there it depends on that with which one eats bread, and with pickling one certainly eats bread. But here it depends on the status of a cooked food, and pickling does not have the status of a cooked food.
ומהו שני תבשילין? הנה דברים הנאכלים חיים, כמו פירות וירקות הנאכלים חיים – אינן בכלל תבשילין, ויכול לאכול מהם כמה מינים, דתבשיל אינו אלא "תבשיל", כשמו שמתבשל. ואם בשלם, אפילו הם נאכלים חיים – חשיבי תבשיל. דלא כיש אומרים דדבר שנאכל כמות שהוא חי – לא חשיב תבשיל, אף כשבשלם, כמו לעניין בישולי עבודת כוכבים, דבכאן לא נחתינן לזה, וכמה מאכלים טובים עושים מזה, ולכן חשובים תבשיל (טור). ויש להסתפק אם כבוש ומליח חשובים תבשיל, כמו דג מלוח שקורין הערינ"ג, או ירק כבוש בחומץ, או במים, מעת לעת. ולעניות דעתי נראה דאין זה בגדר תבשיל, ויש שאוסר בכבוש (ש"ת בשם כנה"ג). וטעמו נראה: משום דקיימא לן כבוש כמבושל. ולדעתי אין עניין זה לזה, דאין זה רק לעניין בליעה ופליטה, ולא לעניין חשיבת תבשיל. וראיה מנדרים, דהנודר מתבשיל – אין אסור אלא בתבשיל של צלי, או שלוק, או מבושל – ולא בכבוש ומליח, כדמוכח ביורה דעה סימן ריז, עיין שם. וכיון דחכמים אסרו רק שני תבשילין, אין הכבוש והמליח בכלל זה. וכן נראה לי עיקר. ואף על גב דלעניין עירוב תבשילין מהני גם כבוש, (בסי') כמו שכתבתי [בסימן] תקכז, אין זה דמיון. והרי בשם לא מהני תבשיל שאין מלפתין בו הפת, כמו דייסא, כמו שכתבתי שם. ובכאן וודאי חשיב תבשיל. אלא דאין עניין זה לזה, דהתם תלוי במה שמלפתין בו את הפת, ובכבוש וודאי מלפתין. ובכאן בחשיבות תבשיל תלוי, וכבוש אין עליו חשיבות תבשיל.