def METHOD_NAME(self, zbx):
    columns = [x[0] for x in self.Items]
    result = Pooler.query(self.query.format(", ".join(columns)))
    for key, value in enumerate(result[0]):
        zbx_key, value = "pgsql.{0}".format(self.Items[key][1]), int(value)
        zbx.send(zbx_key, value, self.Items[key][4])
    del columns, result