Colon and Locke were each named All-Stars on Saturday, and proved their worth on Monday. Colon gave up just one run over seven innings and handed Locke his first loss since April 10.
Coco Crisp made a game-saving catch in the seventh to rob Andrew McCutchen of extra bases. Ryan Cook and Grant Balfour each threw scoreless innings, allowing Balfour to break Dennis Eckersley's club record of 40 consecutive saves.
Both teams are locked in tight divisional races. Texas is half a game behind the A's in the AL West, and the Pirates are a game and a half behind the eternally competitive Cardinals in the NL Central.
Grant Green, Oakland's 2009 first-round draft pick, made his Major League debut at second base and batted eighth. Green went 0-3 with two strikeouts, but made a couple nice plays in the field.