COPY command on windows???

From: Andreas <maps(dot)on(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: COPY command on windows???
Date: 2009-07-17 18:06:03
Message-ID: 4A60BD8B.9050807@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

The PG doc doesn't describe the path-syntax for windows.
With google I only find references to permission errors.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sachin Srivastava 2009-07-17 18:12:59 initdb failure on Windows XP
Previous Message Craig Ringer 2009-07-17 18:03:44 Re: Please help