run the queries

        queries -- list -- the queries to run
        return -- string -- the results of the query?

def _run_queries(self, queries, *args, **kwargs):
        """run the queries

        queries -- list -- the queries to run
        return -- string -- the results of the query?
        """
        # write out all the commands to a temp file and then have psql run that file
        f = self._get_file()
        for q in queries:
            f.write("{};\n".format(q))
        f.close()

        psql_args = self._get_args('psql', '-X', '-f {}'.format(f.name))
        return self._run_cmd(' '.join(psql_args), *args, **kwargs)