PITTSBURGH: Andrew McCutchen had his major league-leading sixth four-hit game of the season and drove in three runs to lead the Pittsburgh Pirates past the Houston Astros 6-2 on Tuesday night.

Brock Holt added four hits in just his third major league start and Wandy Rodriguez (10-13) scattered four hits over seven shutout innings against his former team to help Pittsburgh snap a four-game losing streak.

Jordan Lyles (3-11) gave up five runs — four earned — in 4 2-3 innings for Houston, which failed to win consecutive games for just the second time since the All-Star break.

The Pirates came in losers in 10 of their previous 13, including a 5-1 setback to the Astros on Monday.

It wasn’t the way Pittsburgh envisioned opening a critical six-game homestand as it chases a playoff spot for the first time in 20 years.

Cardinals 5 Mets 1: In St. Louis, Jaime Garcia carried a shutout into the eighth inning and Yadier Molina got his 1,000th career hit with an infield single that started a three-run second against rookie Matt Harvey in the St. Louis Cardinals’ 5-1 victory over the New York Mets.

Daniel Descalso and David Freese had two hits and an RBI apiece for the Cardinals, who are 42-26 at home for the second-best mark in the National League. St. Louis will go for a three-game sweep Wednesday with Adam Wainwright facing 17-game winner R.A. Dickey.

Descalso also stole third in the sixth, putting him in position to score on John Jay’s groundout against Justin Hampson that made it 4-0.

Rockies 6 Braves 0: In Atlanta, Carlos Gonzalez hit his second home run since July 23 to give Colorado the lead, Jordan Pacheco also homered and drove in two runs, and the Rockies beat the Atlanta Braves 6-0.

Four pitchers combined on a nine-hit shutout. Carlos Torres (4-1), who took over after starter Drew Pomeranz lasted only three innings, threw three scoreless frames. He allowed three hits with no walks and three strikeouts.

Rex Brothers and Matt Belisle completed the shutout.

Gonzalez ended a scoreless tie with a one-out homer off Tommy Hanson in the fourth that landed deep into the center field seats.

Gonzalez, who had two hits, has 22 homers — including his most recent shot before Tuesday on Aug. 24.

Pacheco led off the fifth with his fourth homer for a 2-0 lead.

Reds 2 Phillies 1: In Cincinnati, Jay Bruce homered for the third straight game , hitting a two-run shot that sent the Cincinnati Reds to a 2-1 victory over the Philadelphia Phillies with first baseman Joey Votto watching from the bench.

Votto was activated off the disabled list before the game, but didn’t play. Cincinnati went 32-16 without him, taking control of the NL Central.

Bruce’s 31st homer in the sixth inning ended a four-game winning streak by Kyle Kendrick (8-10). Bruce has homered in four of his last five games.

Mat Latos (12-4) gave up one run — on a bases-loaded walk — and four hits in seven innings.

Jimmy Rollins doubled off Latos in the fifth inning, making him the fourth Phillies player to reach 2,000 career hits.

D-backs 8 Giants 6, 11 innings: In San Francisco, Aaron Hill had a career-high five hits and Jason Kubel tripled home the tiebreaking run in the 11th inning to lead the Arizona Diamondbacks over the San Francisco Giants 8-6.

The first-place Giants used 11 pitchers, matching a major league record for extra-inning games. They remained 4½ games ahead of Los Angeles in the NL West because the Dodgers also lost at home in extra innings, to San Diego.

Hill drove in two runs and was a triple shy of his third cycle this season. John McDonald also had two RBIs for the Diamondbacks, who ended a three-game skid.

Brandon Belt had three hits, including a two-run homer, for San Francisco. Pablo Sandoval knocked in two runs but the Giants had their three-game winning streak stopped.

Padres 6 Dodgers 3, 11 innings: In Los Angeles, Logan Forsythe hit a two-run single with the bases loaded in the 11th inning after Yasmani Grandal tied the score with a two-run homer in the eighth, and the San Diego Padres beat the Los Angeles Dodgers 6-3.

The Dodgers wasted an excellent outing from ace Clayton Kershaw and dropped 1½ games behind St. Louis for the second NL wild card.

John Ely (0-1), working his second inning of relief, gave up a leadoff single to Cameron Maybin in the 11th. Everth Cabrera followed with a bunt single, and both runners took an extra base on third baseman Luis Cruz’s throwing error to first.

Will Venable was intentionally walked with one out before Forsythe lined a 1-2 pitch to right-center. Chase Headley followed with an RBI single.