Re: Load or Copy ?? - Mailing list pgsql-sql

From Tom Lane
Subject Re: Load or Copy ??
Date
Msg-id 28324.981560605@sss.pgh.pa.us
Whole thread Raw
In response to Re: Load or Copy ??  (Patrik Kudo <kudo@partitur.se>)
List pgsql-sql
Patrik Kudo <kudo@partitur.se> writes:
> COPY forum FROM 'datei.csv' USING DELIMITERS '|';
> You should use either 'filename' OR stdin, not both.

Check.  You'll probably also find that you need to supply an absolute
pathname, since the backend is not running in the same directory that
your client is in.
        regards, tom lane


pgsql-sql by date:

Previous
From: Brice Ruth
Date:
Subject: Re: Re: SQL Join - MySQL/PostgreSQL difference?
Next
From: Tom Lane
Date:
Subject: Re: Re: SQL Join - MySQL/PostgreSQL difference?