Received: from mx99.openu.ac.il (arbel.openu.ac.il [147.233.32.4]) by hub.org (8.9.3/8.9.3) with ESMTP id KAA94523 for ; Mon, 3 May 1999 10:26:51 -0400 (EDT) (envelope-from herouth@oumail.openu.ac.il) Received: from talmon.openu.ac.il (talmon.openu.ac.il [147.233.32.11]) by mx99.openu.ac.il (Postfix) with ESMTP for id 0CDB54B5F0; Mon, 3 May 1999 17:26:48 +0300 (IDT) Received: from [147.233.159.109] (mac-herouth.pc.openu.ac.il) by talmon.openu.ac.il (Netscape Messaging Server 3.54) with ESMTP id AAA61E3; Mon, 3 May 1999 17:28:59 +0300 X-Sender: herouth@shaked.cc.openu.ac.il Message-Id: In-Reply-To: <06da01be956e$a58ee860$8355e5ce@base2inc.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Mon, 3 May 1999 17:27:25 +0300 To: "Frank Morton" , From: Herouth Maoz Subject: Re: [SQL] Slow Inserts Again 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