Adhesives based on polyesters obtained by reactions forming a carboxylic ester link in the main chain Adhesives based on derivatives of such polymers