I’ve no idea how a UK pension would be treated.
For an Irish occupational scheme, it depends whether the person dies while in service or not. If they’ve left employment, it’s paid out tax-free to the spouse. If they’re in service, four times final remuneration is paid out tax-free plus the value of whatever the individual paid in himself/herself, with the balance used to buy and annuity.