Re: Upgrading to a major version
От | Andreas Kretschmer |
---|---|
Тема | Re: Upgrading to a major version |
Дата | |
Msg-id | 670012867.35942.1458575023255.JavaMail.open-xchange@oxweb01.ims-firmen.de обсуждение исходный текст |
Ответ на | Upgrading to a major version (JORGE MALDONADO <jorgemal1960@gmail.com>) |
Список | pgsql-novice |
> JORGE MALDONADO <jorgemal1960@gmail.com> hat am 21. März 2016 um 16:22 > geschrieben: > > > Hello, > > I am actually using PostgreSQL 9.1 and I am thinking about upgrading to > version 9.4 or 9.5. I have read that the most feasible and secure way to > upgrade PostgreSQL to a major version is by using pg_dump/pg_restore. Is > this correct? pg_dump dumps only one database, for a complete backup for the upgrade i would suggest pg_dumpall, this dumps also global objects (user). The result is a plain ASCII-File, this can you play with psql. You should use the pg_dump(all) from the higher version if possible. > > Does an upgrade applies for going from 32-bit to 64-bit? you can also change the platform, a dump is (should be) independed. -- Andreas Kretschmer http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
В списке pgsql-novice по дате отправления: