Re: Importing directly from BCP files

Поиск
Список
Период
Сортировка
От Kevin Grittner
Тема Re: Importing directly from BCP files
Дата
Msg-id 3736261.4698930.1447706954167.JavaMail.yahoo@mail.yahoo.com
обсуждение исходный текст
Ответ на Re: Importing directly from BCP files  (Tim Uckun <timuckun@gmail.com>)
Список pgsql-general
On Monday, November 16, 2015 1:15 PM, Tim Uckun
<timuckun@gmail.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

В списке pgsql-general по дате отправления:

Предыдущее
От: Johannes
Дата:
Сообщение: Re: update inside function does not use the index
Следующее
От: Johannes
Дата:
Сообщение: Re: update inside function does not use the index