Labor unions have long pointed with satisfaction at hard-won contracts that specified a defined-benefit pension for their members. But these unions were often without the financial sophistication to judge whether the firm set aside sufficient capital to meet its commitments decades later.