I've seen it a few times, people with 30+ years of experience being paid massively more than newcomers, and just waiting for retirement. There's absolutely no point to do more than the bare minimum not to be fired in this situation (and if it's a government job, then it's pretty much impossible depending on the place), and it absolutely shows.
I also have many seen people waiting for retirement on the private sector.
In the case I know (nurses), it's about a nurse taking care of twice as many patients, and usually better. Not trying to change things, just doing their job.
What I can tell you is that those people doing more either quit or just give up and stop caring.
For what is worth my experience is mainly with the private sector. It's just that usually they are a bit more willing to sack people.
Public servants have a progression table, so by knowing their level, you know the salary.
Companies either have an union agreement, so it goes back to the same level agreements, or they have internal evaluation with salary matrix, so again by knowing department and skill level, it is relatively easy to get the salary value, minus possible bonus.
They are even part of some job offer descriptions.
So at the end of the day it is hard to grasp why it is so sacred to discuss it on US.