Which PostgreSQL version to use for InvenTree?
At the time of writing this post (2022-01-20), InvenTree only support PostgreSQL version 11, 12 & 13.
Newer versions of PostgreSQL such as version 14 and 15 are not supported due to dependencies in the backup workflow.
Source: This reddit post