RE: loading data from flat text file - Mailing list pgsql-general

From Voitenko, Denis
Subject RE: loading data from flat text file
Date
Msg-id 0FF17853157CD31197E100902784B34B12A9B0@FILESERVER1
Whole thread Raw
In response to loading data from flat text file  ("Voitenko, Denis" <dvoitenko@qode.com>)
List 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 by date:

Previous
From: Emmanuel Motchane
Date:
Subject: ...
Next
From: Louis-David Mitterrand
Date:
Subject: missing fmgr.h