From: | Kevin Grittner <kgrittn(at)ymail(dot)com> |
---|---|
To: | Tim Uckun <timuckun(at)gmail(dot)com>, S McGraw <smcg4191(at)mtneva(dot)com> |
Cc: | pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Importing directly from BCP files |
Date: | 2015-11-16 20:49:14 |
Message-ID: | 3736261.4698930.1447706954167.JavaMail.yahoo@mail.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Monday, November 16, 2015 1:15 PM, Tim Uckun
<timuckun(at)gmail(dot)com> wrote:
> I don't see any documentation anywhere about the BCP format and
> as I said googling for "BCP format" gives a zillion links about
> the format files.
That's because there is no one, single "BCP format" -- the format
of a BCP file is determined by a BCP format file, which can be
created dynamically when you use BCP to generate output. There is
no way to do more than guess at how to read a BCP file without its
associated format file.
Now, the human brain is amazingly good at spotting patterns; you
might be able to infer the format of each of your BCP files by
looking at it, but the only *sure* way of interpreting it correctly
is to read the format file.
--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | Johannes | 2015-11-16 21:06:40 | Re: update inside function does not use the index |
Previous Message | Johannes | 2015-11-16 20:23:02 | Re: update inside function does not use the index |