code: def table_dump(self, table):
          
          if not table: raise ValueError("no table")
  
          cmds = []
          logger.info('------- dumping table {}'.format(table))
          cmd = self._get_args(
              "pg_dump",
              "--table={}".format(table),
              #"--data-only",
              "--clean",
              "--no-owner",
              "--column-inserts",
          )
          cmds.append((cmd, {}))
  
          outfile_path = self._get_outfile_path(table)
          cmds.append(('gzip > "{}"'.format(outfile_path), {"shell": True}))
  
          #cmd += ' | {}'.format(' | '.join(pipes))
          #cmd += ' > {}'.format(outfile_path)
  
          self._run_cmds(cmds)
          logger.info('------- dumped table {}'.format(table))
          return True
docs: dump all the rows of the given table name