The Giants won their fifth consecutive game, 3-1 over the Milwaukee Brewers.
The Dodgers have 26 regular-season games left, the Giants 27. Six games will be against each other.
With no guarantee of a division title, the Dodgers remain in search of reinforcements.
Some of them will be players returning from injuries, such as Hyun-Jin Ryu, who is scheduled to be activated from the disabled list Sunday to start to the series finale against the Padres.
Others will come from the minor leagues starting Monday, when major league rosters can expand by as many as 15 players.
Help could also come from the outside, if the Dodgers can claim a player on waivers or trade for a player who has cleared waivers. For a player to eligible for postseason play, he would have to be in the organization by Sunday.
The Dodgers have already received some uplifting news. Hanley Ramirez returned to the lineup Saturday, a day after tightness in his left leg forced him to make an early departure from Friday's series-opening defeat.
Ramirez initially wasn't listed as a starter by Manager Don Mattingly, who figured the shortstop was unlikely to be sufficiently recovered. But Ramirez worked out on the warning track at Petco Park under the supervision of team trainers and Mattingly.
"He obviously looked really good," Mattingly said. "Everything was easy."
That being the case, Mattingly rewrote his lineup and slotted Ramirez into the No. 2 spot. Yasiel Puig, who started the day in an 0-for-19 slump, was dropped to fifth in the order.
"I want to get Hanley the extra at-bat," Mattingly said.
Before Ramirez was removed from Friday's game, he was three for four with a home run and a double.
"I thought he looked good," Mattingly said. "I think it's the first time we've seen him with better timing since he's been back. To me, it looks like he's swinging better."
Others could also be returning, starting with Ryu, who has been sidelined by a strained buttock muscle.
Juan Uribe also could be activated Sunday. The third baseman went on the disabled list Aug. 16 because of a strained right hamstring.
If Uribe doesn't return Sunday, he'll be back Monday, when rosters expand. Delaying Uribe's comeback would spare the Dodgers from having to send Darwin Barney or Miguel Rojas to the minor leagues. A player who is demoted wouldn't be eligible to return to the majors until the minor league season is over.
Whenever Uribe is activated, Mattingly said he will be the team's everyday third baseman.
Justin Turner, who before Saturday was batting .375 since the All-Star break, will return to a utility role. Mattingly said he wants to prevent Turner from wearing down.
Reliever Chris Perez, who has been battling bone spurs in his ankle, is expected back Monday. Left-hander Paco Rodriguez, who is dealing with a strained back muscle, is aiming to return some time in September.
The Dodgers will round out their roster with a handful of minor league players, among them triple-A outfielder Joc Pederson, who was the most valuable player of the Pacific Coast League.