Re: COPY command documentation

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Oisin Glynn <me(at)oisinglynn(dot)com>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: COPY command documentation
Date: 2006-04-22 03:04:05
Message-ID: 200604220304.k3M345f05475@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-general


I have added the following patch for 8.2 that suggests using E'' strings
and doubling backslashes used as path separators, and backpatched the
later suggestion to 8.1. Thanks.

---------------------------------------------------------------------------

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. I would suggest the there
> should be a Windows example(s) in the documents as well as a *NIX style
> one(s) where necessary. Did I miss this somewhere or should I put a
> comment on the doc or what can I do to help the next Windows user.
>
> 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
>

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

Attachment Content-Type Size
unknown_filename text/plain 938 bytes

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Volkan YAZICI 2006-05-01 09:43:50 FAQ DEV 1.16, Link to SQL:2003 Draft is Broken
Previous Message Alvaro Herrera 2006-04-18 03:45:24 Re: Proposed doc-patch: Identifying the Current WAL file

Browse pgsql-general by date

  From Date Subject
Next Message Mavinakuli, Prasanna (STSD) 2006-04-22 03:15:49 Re: HUGE Stack space is gettiing consumed
Previous Message Nicolas Baradakis 2006-04-21 23:10:34 Re: Debian package for freeradius_postgresql module