Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 21957B5DC24 for ; Fri, 15 Jul 2011 09:54:56 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 21563-01 for ; Fri, 15 Jul 2011 12:54:49 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mail.postgresql.org (Postfix) with ESMTP id C8377B5DC23 for ; Fri, 15 Jul 2011 09:54:49 -0300 (ADT) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Qhhur-00080G-Hl for pgsql-general@postgresql.org; Fri, 15 Jul 2011 05:54:49 -0700 Date: Fri, 15 Jul 2011 05:54:49 -0700 (PDT) From: Fabio Milillo To: pgsql-general@postgresql.org Message-ID: <1310734489540-4590548.post@n5.nabble.com> In-Reply-To: <4422B9F8.60100@oisinglynn.com> References: <4422B9F8.60100@oisinglynn.com> Subject: Re: COPY command documentation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.778 tagged_above=-5 required=5 tests=BAYES_00=-1.9, URI_HEX=1.122 X-Spam-Level: X-Archive-Number: 201107/401 X-Sequence-Number: 177780 Hi Oisin, I am right in the condition you described, but nowadays the 8.0 documentation is only available without comments. I tried the way suggested by Richard Sydney-Smith (*eliminating the spaces in the path*), but unsuccessfully. Could you please help me? thanks, Fabio *hint from Richard Sydney-Smith* ( http://postgresql.1045698.n5.nabble.com/Windows-file-path-for-copy-tt1847135.html ): /Windows XP SP2 with Postgresql 8.0.3 Two commands on fails the other succeeds: *Fails *: select import_sharedata('C:\\Documents and Settings\\Richard\\Desktop\\EzyChart-20050721'); *Succeeds*: select import_sharedata('C:\\EzyChart-20050721'); / Oisin Glynn wrote: > > I have driven myself to distraction for the last 30 minutes trying to > get COPY to work on Windows XP. The Unix style c:/afolder/afile > instead of c:\afolder\afile was a desperation attempt. > > I had tried all sorts of double slashes \\ putting the whole path in > quotes basically all sorts of foolishness. [...] > Oisin > > > P.S. > I just discovered that the comments from 8.0 had the answer I was > looking for but these comments are not in the 8.1 docs. Should the > comments be rolled forward as new versions are created? Or if valid > comments added to the docs themselves? > > http://www.postgresql.org/docs/8.1/interactive/sql-copy.html > > http://www.postgresql.org/docs/8.0/interactive/sql-copy.html > > Now happily using COPY, > Oisin > > > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster > -- View this message in context: http://postgresql.1045698.n5.nabble.com/GENERAL-COPY-command-documentation-tp1858906p4590548.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.