pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Patrik Kudo <kudo@partitur.se>
Cc: Sebastian <hallogammler@aol.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Load or Copy ??
Date: Wed, 07 Feb 2001 10:43:25 -0500
Message-ID: <28324.981560605@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.BSF.4.31.0102071614410.90380-100000@tb303.partitur.se>
References: <Pine.BSF.4.31.0102071614410.90380-100000@tb303.partitur.se>

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



view thread (3+ messages)

Message-ID: <28324.981560605@sss.pgh.pa.us>
Permalink:  ../28324.981560605@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28324.981560605@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, kudo@partitur.se, hallogammler@aol.com
  Subject: Re: Load or Copy ??
  In-Reply-To: <28324.981560605@sss.pgh.pa.us>
  References: <Pine.BSF.4.31.0102071614410.90380-100000@tb303.partitur.se> <28324.981560605@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox