My state starts doling out pensions at 5 years. A friend of mine worked for a state senator in the 90s for 6 years. He's got something like $1200/mo guaranteed during his retirement for 6 years of borderline political work ~25 years ago.
I know it's a politically charged subject but I don't see why from an economic/mathematical perspective it's any better than moving the same investments to the market. Or at least if you're going to keep the pensions, only give them out for full service (20 years) like the military, and make it easier to fire a government worker for poor performance.
I shouldn't be able to sit on my thumbs for a few years and have my mortgage covered by the taxpayers during my retirement.