[postgresql] How to upgrade PostgreSQL from version 9.6 to version 10.1 without losing data?