Some egregious cases have been cited above. But, there is a temptation is to extend the "sin" to all retired government workers, which is not the case.
In most cases, government employees have nothing to say about their pensions. In many cases the policies are set by the pols or a board. In fact, pension funds are frequently raided and/or under funded to cover budget short falls, leaving the pensions in dire straits. I was president of two union locals in two different states. The pensions were not negotiable by law.
In both states, the pension rates were 1.5% of the an average salary per year served-- the average salary being computed on the five highest years. I also worked in private industry. My spouse worked for several major corporations. The computation of retirement benefits, private and public, were essentially the same.