[plugin-postgres] add block to limit the scope
[plugin-postgres] add block to limit the scope

for `rows` and `err`

mackerelio/mackerel-agent-plugins,mackerelio/mackerel-agent-plugins,mackerelio/mackerel-agent-plugins,mackerelio/mackerel-agent-plugins