From: | Raymond O'Donnell <rod(at)iol(dot)ie> |
---|---|
To: | 私人邮箱 <qdurenhongcai(at)163(dot)com> |
Cc: | "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-05 12:27:37 |
Message-ID: | 51AF2EB9.7050103@iol.ie |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 05/06/2013 13:20, 私人邮箱 wrote:
> no,I can't...
>
> Actually the dump file comes from another site...
>
>
> 在 2013-6-5,19:28,Raymond O'Donnell <rod(at)iol(dot)ie> 写道:
>
>> On 05/06/2013 03:02, 任洪彩 wrote:
>>> Hi,
>>> Yes, you are right.
>>> But -d option not suitable for me. Because our flatform use -C option
>>> and -d template1 option to create the database described in the dump
>>> file to restore the dump file.
>>>
>>> The whole command like this:
>>> # /opt/nokiasiemens/SS_Postgres/bin/pg_restore -C -h CFPU-0 -p 5433 -U
>>> _qnrnwdbman -d template1 -e -v /root/horen/rnwdump/DBRNWHSB.pgdump
>>
>> Hmmmm, OK. Could you rename the original database before dumping it, so
>> that its name matches the new one?
Sounds like you're going to have to script it somehow then.
Ray.
--
Raymond O'Donnell :: Galway :: Ireland
rod(at)iol(dot)ie
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2013-06-05 14:16:35 | Re: View's plan not taking advantage of WHERE? |
Previous Message | Mike Summers | 2013-06-05 12:25:37 | Re: View's plan not taking advantage of WHERE? |