Then he received more help from an unlikely source in the second -- San Francisco's spotty offense.
Holland (1-1) pitched seven crisp innings, allowing five hits with two walks and a season-best nine strikeouts. He struck out hot-hitting rookie Fernando Tatis Jr. looking three times and fanned the final two batters he faced after giving up Hunter Renfroe's solo homer in the seventh.
"He gave us something we needed with some length," San Francisco manager Bruce Bochy said. "What a great job he did. The first inning they hit some balls hard but he found his command and all his pitches and pitched a terrific game."
It was Holland's longest outing since he lasted eight innings for the Chicago White Sox on May 21, 2017.
Holland got a big lift from San Francisco's defense early.
Posey threw out Wil Myers attempting to steal second in the first inning. Two batters later, after Manny Machado walked, Franmil Reyes singled but was nabbed trying to go to second on a relay throw by shortstop Brandon Crawford.
"They were making some hard contact," Holland said. "Any time these guys make plays you want to do whatever you can to pick them up, too. They made some great plays for me."
The Giants set a season high for runs, one night after blowing a five-run lead with ace Madison Bumgarner on the mound.
Gerardo Parra doubled and scored twice in his return to the lineup after getting hit in the face by a 93 mph fastball that ricocheted off his shoulder in the series opener Monday. Yangervis Solarte and Tyler Austin also knocked in runs to help the Giants (4-8) avoid their worst start through 12 games in the San Francisco era.
Padres starter Joey Lucchesi (2-1) went into the game as one of two NL pitchers who hadn't allowed a run in 10 innings this season. Lucchesi ran his streak to 11 with a 1-2-3 first before the Giants scored six in the second.
"Just a couple of bad pitches here and there," he said. "I only gave up three hard hits, a few bloops. I'm just going to sleep it off, move on and get ready for the next start."
Pillar, who hit a grand slam Monday, smacked a three-run double in the second and scored on Austin's RBI single, then added a sacrifice fly in the fourth. The newcomer from Toronto became the first Giants player with at least four RBI in back-to-back games since home run king Barry Bonds did it April 2-3, 2002.
"Any time you are traded and brought to a new clubhouse, you want to go out there and have kind of your moment," Pillar said. "Today is kind of showcasing what I feel like I can bring to the table."
The game drew 28,506, the smallest crowd in San Francisco since Sept. 1, 2010. The Giants set an NL record with 530 consecutive sellouts at their waterfront ballpark from 2010-17 but have failed to reach 30,000 in each of their last two games.
"You hate to see it, but it's going to be up to us to start playing good ball and get `em back here and start winning some games," Bochy said. "That's something that we can control. Other than that, go out there and make some noise and raise the excitement here."
Padres: LHP Jose Castillo has yet to resume throwing but his recovery from a left flexor strain is going as well as possible, according to manager Andy Green. Castillo is traveling with the club as he rehabs. ... 1B Eric Hosmer was rested.
Giants: Parra made a quick return to the lineup, one day after his lip was cut when he was struck by a fastball from Brad Wieck. Parra contemplated getting stitches but declined.
San Diego LHP Nick Margevicius (0-1, 1.80 ERA) takes a third shot at earning his first win in the majors in the series finale Wednesday. Margevicius has pitched five innings in each of his previous two starts. San Francisco counters with RHP Dereck Rodriguez (1-1, 5.23), who has one win in three career starts against the Padres.
More AP MLB:https://apnews.com/tag/MLB andhttps://twitter.com/AP-Sports
Washington Nationals say they're not finished after KO'ing Dodgers
The Nationals got over their postseason hump, posting their first playoff series win in spectacular fashion, and see no reason to stop now.
First look at Cardinals-Nationals NL Championship Series
It isn't the matchup we were expecting, but there's plenty to digest as St. Louis and Washington square off for a trip to the World Series.
Dodgers fall short of expectations
Tim Kurkjian breaks down the fall of the Dodgers as their regular season dominance fizzled out in the playoffs.
Flaherty: The goal had to stay the same
Jack Flaherty goes through the mindset of coming into a game with the lead already 10-0 in the 1st inning.
Kurkjian: Kershaw is 'clearly' not the same pitcher in October
Tim Kurkjian says the Dodgers were "clearly" the best in the NL throughout the entire season and their early exit at the hand of Clayton Kershaw is "devastation."
Kershaw: 'I had one job to do'
Clayton Kershaw feels terrible that he let his teammates down, giving up back-to-back home runs in the 8th inning and a 3-1 lead in Game 5 of the NLDS.