Title: RE: [GENERAL] loading data from flat text file

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:[EMAIL PROTECTED]]
Sent: Monday, May 22, 2000 6:23 PM
To: Voitenko, Denis
Cc: '[EMAIL PROTECTED]'
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
  [EMAIL PROTECTED]               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Reply via email to