For the US - it depends on the treatment. The AWPA has ~10 different levels of treatment, from interior/damp rated to salt-water off the Gulf coast rated (UC1 and UC5C respectively)
So the correct answer is it will depend on what kind of post you have, what your soil is like and where you are.
Learn about the categories and pick the correct one use-case. I'm down this rabbit hole because I'm building a pole barn and all the big box stores around here sell is UC3B and UC4A, which is not what I need (I need UC4B).
See the table listed here for specs: https://awpa.com/info/technical/homeowners
