Unrelated.
Why do you think it is government money though? Pension comes from the interest accumulated from one’s EPS contribution. Whether it comes from one job or two jobs in succession, total principal and interest would remain same for total years of service. Or am I getting it wrong somewhere.