To score the winning run, the Padres used an error, a single and a walk to load the bases. Pinch-runner Peter Van Gansen was called safe at home with the winning run when the Dodgers attempted a 4-2-3 double play on Wallace's grounder.
Pederson greeted Padres starter Walker Lockett, a right-hander who moved up three levels to Triple-A last season, with a blast the opposite way to deep left-center. Andrew Toles followed with a single, scoring on a sacrifice fly to put a two-spot on the board before the Padres got their first turn to bat.
"He settled in nicely," Padres manager Andy Green said of Lockett. "He left a fastball out over that gets hit out by the first batter and he kind of ran into some trouble in the first, but his next couple of innings were clean."
Alex Wood, in line to secure the No. 5 spot in the Dodgers' rotation, had an impressive outing, lasting 4 1/3 innings, allowing a run on two hits and striking out five while walking none. He threw 54 pitches in his fourth Cactus League appearance.
Wood was perfect the first time through the lineup, but the Padres got to him in the fourth. Erick Aybar ripped a one-out single, moved to third on a Wil Myers single and scored on a Hunter Renfroe single.
"I don't think we swung the bats great but Alex Wood was good early, I thought he spotted up really well against us," Green said. "It was nice to scratch a run across against a guy who's doing it that well."
Renfroe, who finished 2-for-4 with an RBI, hit a one-out double off Steve Geltz in the seventh and would be driven home on a sacrifice fly by Franchy Cordero to tie the game.
Dodgers up next: One day before the Dodgers play Team Japan, Kenta Maeda gets the start on Saturday against the White Sox and highly regarded prospect Carson Fulmer. Rob Segedin and Ike Davis are expected to rejoin the club from the World Baseball Classic. The matchup can be seen live on MLB.TV at 1:05 p.m. PT.
Padres up next:Luis Perdomo, vying for a rotation spot, will get his third start in Cactus League play when the Padres make the trip across the Valley of the Sun to Hohokam Stadium in Mesa to meet the A's in a 1:05 p.m. PT start Saturday. Listen to the matchup live on Gameday Audio.
Watch almost 300 Spring Training games, WBC '17 and every out-of-market regular-season game live on MLB.TV.
John Schlegel is a national reporter for MLB.com. You can follow him on Twitter @JohnSchlegelMLB.