Then, in the sixth, with the score tied, Pujols ranged in front of Miles to take a grounder by Dave Roberts. Pujols then threw low to first, where pitcher Kip Wells, who was covering the bag for the Cardinals, couldn't hang onto the throw, and Roberts had an infield single.
Two walks, two singles and a sacrifice fly later, and it was 5-2.
But it would be unfair to blame Pujols' defense for the Cardinals' fourth consecutive loss. They scored just two runs, both by Wells, including the pitcher's fourth career homer in the fifth inning.
In 15 games, the Cardinals have scored three or fewer runs in 11 times. St. Louis is hitting .232 for the season, last in the National League.
GIANTS 6, CARDINALS 2: Right-hander Kip Wells pitched shutout ball through four innings and had a solo homer to give his team a 2-0 lead entering the fifth. But he wobbled after some shaky defense and he lasted only two more innings. The Cardinals had just five hits, two by Wells, off three San Francisco pitchers.
NOTES AND QUOTES
--3B Scott Rolen, who had missed Wednesday's game with food poisoning, reported to the park ready to play Thursday but was kept out for another game, ahead of a long flight to Chicago for a game on Friday.
--C Yadier Molina, who has gunned down three of six potential base thieves, caught RF Randy Winn in the fifth as part of a double play.
--The two-game series, both losses for the Cardinals, was St. Louis' only visit to San Francisco this year, although the Cardinals have three games in Oakland later in the season.
--After RHP Kip Wells' homer leading off the fifth, the Cardinals had only two other runners, and one of them, 3B Scott Spiezio, was swallowed up in a double play in the ninth inning.
QUOTE TO NOTE: "You just come to the park, stay with your routine and eventually good things will happen." -- 1B Albert Pujols, who had been slumping until smacking two home runs Sunday against Milwaukee.