Search Postgresql Archives

Re: migrating data from an old postgres version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/15/2016 07:07 AM, Willy-Bas Loos wrote:

On Fri, Jul 15, 2016 at 3:55 PM, Melvin Davidson <melvin6925@xxxxxxxxx
<mailto:melvin6925@xxxxxxxxx>> wrote:


    Why can't he just do a
    pg_dump -F p his_dbname > his_dbname.sql
    Then copy dbname.sql to a jump/thumb drive on the old laptop
    copy the data from the jump/thumb drive to the new laptop
    create the new db in 9.5
    and use pg_restore to load the his_dbname.sql ?


Because it's not the same version, so that will cause some errors.

pg_dump is backwards compatible to version 7.0.

But i guess we should be able to live with that.
Thanks, i guess i was thinking a bit too rigid.

Cheers,
--
Willy-Bas Loos


--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux