Re: migrating data from an old postgres version

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Paul Ramsey <pramsey(at)cleverelephant(dot)ca>
Cc: Melvin Davidson <melvin6925(at)gmail(dot)com>, Willy-Bas Loos <willybas(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: migrating data from an old postgres version
Date: 2016-07-15 14:09:38
Message-ID: CAKFQuwY3MeaJNfv3NmofJVBLcBk_-2gYSEc98Kttxkf=DSWEHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jul 15, 2016 at 10:02 AM, Paul Ramsey <pramsey(at)cleverelephant(dot)ca>
wrote:

>
> Make sure to pg_dump -Fc
> (note the flags)
>
>
​You need to also include "​--quote-all-identifiers" if you intend for the
dump to be restored onto a newer version of PostgreSQL.

https://www.postgresql.org/docs/9.6/static/app-pgdump.html

And don't forget pg_dumpall to get the globals - or to do the whole thing.

https://www.postgresql.org/docs/9.6/static/app-pg-dumpall.html

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Willy-Bas Loos 2016-07-15 14:12:38 Re: migrating data from an old postgres version
Previous Message Willy-Bas Loos 2016-07-15 14:07:54 Re: migrating data from an old postgres version