Giraldo beat Melzer for the first time in three attempts. The Colombian reached the final in Santiago in February, also on clay.
The 20-year-old German lost his only other tour-level matches, in the first round at Halle and Wimbledon. Both were on grass.
Davydenko was a semifinalist twice in the clay-court tournament in Stuttgart.