PostgreSQL version compatibility - what is it?

Basically, title.
I was going through pages but haven’t found PostgreSQL version compatibility requirements anywhere. I see compose scripts use very old PostgreSQL 12 there. I do know/use PostgreSQL 13 so I suspect its technically compatible to that. The latest now is PostgreSQL 15 already so I’m wondering…

you should be fine with any newer version.