Ryu holds the Giants to one run through eight innings, but Posey's two-out single off Pedro Baez in the bottom of the ninth is the difference as San Francisco wins 2-1 on Wednesday night.