From: | Herouth Maoz <herouth(at)oumail(dot)openu(dot)ac(dot)il> |
---|---|
To: | "Frank Morton" <fmorton(at)base2inc(dot)com>, <pgsql-sql(at)hub(dot)org> |
Subject: | Re: [SQL] Slow Inserts Again |
Date: | 1999-05-03 14:27:25 |
Message-ID: | l03130306b35361d4928b@[147.233.159.109] |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-sql |
At 17:10 +0300 on 03/05/1999, Frank Morton wrote:
> Is there a doc somewhere about what characters are treated
> in some special way when doing a copy?
Yes, the documentation of the COPY command. The essence is that if you use
the default delimiter (tab), you need to put a backslash before each tab,
newline and backslash in each of the text fields. Oh, and null fields
should be converted to \N.
It's all in the docs. Why don't you try to copy some of the rows into a
temporary table, and dump that table using pg_dump -a -t table_name dbname?
It may give you a clue.
Herouth
--
Herouth Maoz, Internet developer.
Open University of Israel - Telem project
http://telem.openu.ac.il/~herutma
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 1999-05-03 14:29:50 | Re: [HACKERS] an older problem? hash table out of memory |
Previous Message | Frank Morton | 1999-05-03 14:10:06 | Re: [SQL] Slow Inserts Again |
From | Date | Subject | |
---|---|---|---|
Next Message | Herouth Maoz | 1999-05-03 14:31:12 | Re: [SQL] Index on date_trunc |
Previous Message | Chris Bitmead | 1999-05-03 14:19:43 | Re: [SQL] Slow Inserts Again |