Few decisions feel more permanent to a new developer than choosing a database. It sits at the center of your application, and switching later sounds terrifying. So the choice gets built up into a high-stakes debate, when it really should be a practical one.

Here is the reassuring part: MongoDB and PostgreSQL are both excellent, mature,...