PHILADELPHIA -- If something didn't happen soon, Giants manager Bruce Bochy was trotting a position player out to the pitching rubber.
As it worked out, something happened.
Brandon Crawford hit a bases-clearing double to break a 14th-inning stalemate, and Tim Lincecum earned his first career save as the San Francisco Giants beat the Philadelphia Phillies 9-6 on Tuesday night.
"It was huge," Bochy said of the hit. "George [Kontos] might have one more inning at that point."
Kontos (3-0) didn't have one more inning. The reliever got just one out before Lincecum, San Francisco's ninth pitcher, got the final two outs for the save. Had the game still been tied, Bochy was considering outfielder Tyler Colvin.
"I asked him if he had pitched before, and he mentioned high school," Bochy said.
Crawford snapped a 2-for-22 skid with his two-out hit off the wall in left-center field and finished with four RBIs. Buster Posey, who doubled and scored in the 14th, sent the game into extras with a solo homer in the ninth off Jonathan Papelbon, who blew his third save. Kontos (3-0) allowed one run in 2 1/3 innings for to earn the win for the second straight night.
"That's why you keep your arm in good shape," Kontos said. "We'll see how I feel tomorrow -- try to give them an inning or two."
Jeff Manship (1-2) surrendered four runs and lost.
The Giants (56-44) improved to 8-2 in extra-inning games and 6-0 on the road. The Phillies (43-57) fell to 6-7.
"It's tough right now," said Ryan Howard, who had two hits for Philadelphia. "It's just how it goes sometimes. It's just not going our way this year."
Posey had four hits, including two doubles, two runs and an RBI. Hunter Pence had three hits, including a fifth-inning homer. Pence is a lifetime .353 hitter with 14 homers in 34 games against Philadelphia.
Jimmy Rollins hit a two-run homer in the fifth, giving him five homers and 13 RBIs in his last 10 games. Marlon Byrd had a pair of RBIs on a double and a groundout and made a great leaping catch into the right-field wall to rob Gregor Blanco of extra bases in the sixth.
Roberto Hernandez limited San Francisco to three runs on five hits over 5 2/3 innings, walked three and struck out one. Ken Giles allowed one run in the seventh after entering the game with a 14 2/3-innings scoreless streak.
"His command wasn't as good as it's been," Phillies manager Ryne Sandberg said. "But he hung in there."
Ben Revere had three hits and two stolen bases.
Philadelphia is 6-7 in extra-inning games. ... Giants 2B Joe Panik was pulled in the second inning. He suffered a right ankle sprain while running out a grounder in the first inning and is considered day-to-day. ... Philadelphia placed outfielder John Mayberry Jr. on the 15-day disabled list Tuesday with left wrist inflammation and recalled outfielder Darin Ruf from Triple-A Lehigh Valley. ... San Francisco OF Angel Pagan (back) took swings off a tee Monday, manager Bruce Bochy said. Pagan has not played since June 14. ... One day after returning from a two-month DL stint because of a strained left elbow, Phillies LHP Cliff Lee felt fine Tuesday. "Some ordinary soreness in his legs," manager Ryne Sandberg said. "Nothing with the arm at all." ... Giants 1B Brandon Belt (concussion) is progressing slowly and could start taking swings in a couple days, Bochy said. ... Wednesday night, Phillies RHP A.J. Burnett (6-9, 4.08) opposes Giants LHP Madison Bumgarner (11-7, 3.38) in the third game of this four-game set.