Re: COPY command on windows??? - Mailing list pgsql-general

From Thomas Kellerer
Subject Re: COPY command on windows???
Date
Msg-id h3qfj4$slk$1@ger.gmane.org
Whole thread Raw
In response to COPY command on windows???  (Andreas <maps.on@gmx.net>)
List pgsql-general
Andreas wrote on 17.07.2009 20:06:
> Hi,
> I'd like to read a csv file into PG 8.4.
>
> COPY relations FROM E'd:\\relations.csv' CSV HEADER;
>
> It throws (translated):
> ERROR: can't open file >>d:\relations.csv<< for reading
> file or directory not found

Try

COPY relations FROM 'd:/relations.csv' CSV HEADER;

pgsql-general by date:

Previous
From: Sachin Srivastava
Date:
Subject: initdb failure on Windows XP
Next
From: "Joshua D. Drake"
Date:
Subject: Re: initdb failure on Windows XP