Re: How to modify dump files created by pg_dump

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: 任洪彩 <qdurenhongcai(at)163(dot)com>
Cc: "rod(at)iol(dot)ie" <rod(at)iol(dot)ie>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "hongcai(dot)ren(at)nsn(dot)com" <hongcai(dot)ren(at)nsn(dot)com>
Subject: Re: How to modify dump files created by pg_dump
Date: 2013-06-06 01:55:04
Message-ID: 51AFEBF8.8050200@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 06/05/2013 06:17 PM, 任洪彩 wrote:
> Hmm...It seem like a wonderful solution.
> But, i can't change the way to restore.

Then you will not be able to do what you want.

> For some reason, the way to restore as follows.
> pg_restore -C -h xxx -p xxx -U xxx -d template1 -e -v xxx.pgdump
>
> Does any one can give a clarification about whether the dump file
> support modify?
> By the way, dump with these options..-b -o -Fc -Z 0...that i can't chage.
>
>

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Mads.Tandrup 2013-06-06 06:26:19 Re: Streaming replication with sync slave, but disconnects due to missing WAL segments
Previous Message Michael Paquier 2013-06-06 01:42:37 Re: Trouble with replication