NYC has always been super highly taxed (Public Board)
The reason you "need" public sector pensions is those jobs already pay below-market. There's also a sense that, if you work in government for a few years, now your skills are gone and it'll be hard to get a private sector job. To make up for that, they have pensions.
