Re: Copy Data between different databases

From: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
To: Tim Semmelhaack <semmelhaack(at)gmx(dot)de>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: Copy Data between different databases
Date: 2015-03-05 08:42:43
Message-ID: 54F81703.40100@BlueTreble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/3/15 8:18 AM, Tim Semmelhaack wrote:
> When I run a much simpler version of the query with the -c "Select .."
> option it works. Because the sql-scripts are quite long, I don't to do it
> without the -f option.

When you say quite long... are you trying to do multiple commands in q1
or q2? As in, do you have more than just a single COPY statement in
either file? Because the odds of that working are not very good...
--
Jim Nasby, Data Architect, Blue Treble Consulting
Data in Trouble? Get it in Treble! http://BlueTreble.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message lsliang 2015-03-05 09:45:46 can postgresql supported utf8mb4 character sets ?
Previous Message Jim Nasby 2015-03-05 08:34:36 Re: The slave suddenly stopped with such DB log : "will not overwrite a used ItemId" and "heap_insert_redo: failed to add tuple"