If your PostgreSQL instance is running on an Ubuntu LTS system that you need to upgrade to the most recent release, say from precise to trusty – because, well, sooner or later you must – you need to consider what is going to happen to your database.
Note
The upgrade process described in this article is similar to what you would have to do if you were upgrading from Trusty …