Right, so the comparison has to be made w.r.t the total. Of course, there are more factors, so here's a study I found that gives a lot more details. (Different numbers from the same study are quoted by either side as justification that the public employees are more compensated, or less compensated than their private counterparts, so it's best to look up the meaning of the quoted numbers at the source)
http://epi.3cdn.net/9e237c56096a8e4904_rkm6b9hn1.pdf
I don't understand how this is an issue (other than 'these people are making a lot of money'), whether the pensions for those two separate jobs are paid to one person, or two people it is the same amount that is being paid. I suppose that there is a saving in health benefits are if they go to the same person instead of two different people, since one person can't charge twice for the same medical bill.
I didn't know that the public employees get to retire after 20 years on the job, I thought that's only for law enforcement/military type and if they pick that option the retirement pay is 50%, not 80%.