RE: loading data from flat text file

Поиск
Список
Период
Сортировка
От Voitenko, Denis
Тема RE: loading data from flat text file
Дата
Msg-id 0FF17853157CD31197E100902784B34B12A9B0@FILESERVER1
обсуждение исходный текст
Ответ на loading data from flat text file  ("Voitenko, Denis" <dvoitenko@qode.com>)
Список pgsql-general

So I am almost there, except my data is formated as follows:

"chunk1","chunk2","chunk3"

how would I tell COPY that my data is encapsulated in " and separated by , ? Furthermore, I did not find a manual on the COPY command. Anyone?

-----Original Message-----
From: Bruce Momjian [mailto:pgman@candle.pha.pa.us]
Sent: Monday, May 22, 2000 6:23 PM
To: Voitenko, Denis
Cc: 'pgsql-general@postgresql.org'
Subject: Re: [GENERAL] loading data from flat text file

COPY command.

[Charset iso-8859-1 unsupported, filtering to ASCII...]
> I am porting my database from MySQL to PostgreSQL 7.0 One of the first
> problems I ran into is the lack of data inload command. I would like to
> insert data from a 15 million record flat file into a table. How would I do
> that in PGSQL?

--
  Bruce Momjian                        |  http://www.op.net/~candle
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: Emmanuel Motchane
Дата:
Сообщение: ...
Следующее
От: Louis-David Mitterrand
Дата:
Сообщение: missing fmgr.h