def trovesArePinned(self, troveList):
        """
        Get a list of which troves in troveList are pinned

        @param troveList: a list of troves in (name, version, flavor) form
        @type troveList: list

        @note:
            This function makes database calls and may raise any exceptions
            defined in L{conary.dbstore.sqlerrors}

        @raises AssertionError:
        """
        cu = self.db.cursor()
        cu.execute("""
        CREATE TEMPORARY TABLE tlList(
            name        %(STRING)s,
            version     %(STRING)s,
            flavor      %(STRING)s
        )""" % self.db.keywords, start_transaction = False)
        def _iter(tl):
            for name, version, flavor in troveList:
                yield (name, version.asString(), flavor.freeze())
        cu.executemany("INSERT INTO tlList VALUES(?, ?, ?)", _iter(troveList),
                       start_transaction = False)
        # count the number of items we're inserting
        count = cu.execute('SELECT count(*) FROM tlList').next()[0]
        cu.execute("""