Here’s an algorithm which I believe to be 95% accurate:
If only a single user/device needs to access the data: use SQLite. In all other cases: use PostgreSQL.
If only a single user/device needs to access the data: use SQLite. In all other cases: use PostgreSQL.
To be fair, that would be the 5% :).