Re: Importing directly from BCP files - Mailing list pgsql-general

From Adrian Klaver
Subject Re: Importing directly from BCP files
Date
Msg-id 564A7A41.1050100@aklaver.com
Whole thread Raw
In response to Re: Importing directly from BCP files  (Tim Uckun <timuckun@gmail.com>)
Responses Re: Importing directly from BCP files
List pgsql-general
On 11/16/2015 04:25 PM, Tim Uckun wrote:
>     the binary form of the BCP file output is undocumented. So if all
>     the BCP files you have are the binary(native) version you are up
>     this creek without a paddle.
>
>
> Ugh.  Yes it looks like that's the creek I am on.   Thanks Microsoft!
>
>     So, moving to another creek. It depends on the amount of data you
>     are working with, but it might be worth it to spin up a VM in the
>     cloud on AWS, Azure, etc that has SQL Server on it and import the
>     BCP files there. You could then export the data using the character
>     format instead of the native format:
>
>
> Man that really sucks but if it's the only way then I guess it's the
> only way.

Something else that came to mind, where did you get the BCP files from
and is possible the source could create the text based versions instead
of the binary?

--
Adrian Klaver
adrian.klaver@aklaver.com


pgsql-general by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Adding a new module to postgres
Next
From: Craig Ringer
Date:
Subject: Re: bdr appears to be trying to replicate to itself