With enough red flags around Matt Cain to form a slalom course, this was the last thing the sellout crowd at AT&T Park wanted to see Saturday night: Trainers Dave Groeschner and Mark Gruesbeck, leaving footprints all over the mound.

The trainers did come out to the bump – three times, in all. But it wasn’t to check on Cain. He looked hale and hearty in five-plus innings of a 4-3 victory over the Arizona Diamondbacks.

But Jeremy Affeldt appears headed to the disabled list after straining his left groin. Sandy Rosario (hand) and Sergio Romo (hit on the leg by a comebacker) appeared much less worse for wear.

And the Giants certainly got healthier in the standings. After picking up their second game in two days, they’re only 4 ½ games back of Arizona in the NL West – four in the loss column.

Buster Posey hit a two-run home run and the Diamondbacks stranded 11 runners over the final five innings as the Giants continue to make their case to the front office to bolster this bunch ahead of the July 31 non-waiver trade deadline.