From: Sebastian <hallogammler@aol.com>
To: pgsql-sql@postgresql.org
Subject: Load or Copy ??
Date: Tue, 6 Feb 2001 18:53:52 +0100
Message-ID: <95pdei$lmt$1@news.tht.net> (raw)
Hi
What is wrong?
$result = pg_Exec($db,"COPY forum FROM {'datei.csv' | stdin} USING
DELIMITERS '|';");
I will load datei.csv into forum!
This is for MySQL:
$result = pg_Exec($db,"LOAD DATA INFILE 'datei.csv' INTO TABLE forum FIELDS
TERMINATED BY '|' LINES TERMINATED BY '\n'");
And for PostgreSQL:
????????????????????
Regards, Sebastian
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: hallogammler@aol.com
Subject: Re: Load or Copy ??
In-Reply-To: <95pdei$lmt$1@news.tht.net>
References: <95pdei$lmt$1@news.tht.net>
* 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