Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id B0D499FB3FF for ; Tue, 20 Mar 2007 00:17:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 65302-08 for ; Tue, 20 Mar 2007 00:17:24 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by postgresql.org (Postfix) with ESMTP id 6526C9FB3E9 for ; Tue, 20 Mar 2007 00:17:25 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.8/8.13.8) with ESMTP id l2K3H0R2042388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 19 Mar 2007 20:17:04 -0700 (MST) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.8/8.13.8) with ESMTP id l2K3H0ee023637; Mon, 19 Mar 2007 21:17:00 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.8/8.13.8/Submit) id l2K3H041023636; Mon, 19 Mar 2007 21:17:00 -0600 (MDT) (envelope-from mfuhr) Date: Mon, 19 Mar 2007 21:17:00 -0600 From: Michael Fuhr To: Paul Lambert Cc: pgsql-sql@postgresql.org Subject: Re: Issue with copying data from a text file. Message-ID: <20070320031659.GA23548@winnie.fuhr.org> References: <45FF4622.2010404@autoledgers.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <45FF4622.2010404@autoledgers.com.au> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/262 X-Sequence-Number: 27900 On Tue, Mar 20, 2007 at 11:25:38AM +0900, Paul Lambert wrote: > I note an option in the COPY command to specify the quote character, > defaulting to double quote. The problem being a single quote will also > be used in the data, as will other characters. Is there any way to get a > copy to have no quote character? Are there any control characters that won't appear in the data? -- Michael Fuhr