From: reiner peterke <zedaardv@drizzle.com>
To: pgsql-php@postgresql.org
To: pgsql-php@postgresql.org
To: pgsql-php@postgresql.org
Subject: copy error
Date: Tue, 25 Oct 2005 21:57:50 +0200
Message-ID: <bb0c4023140f161caca4bf54067dd385@drizzle.com> (raw)
either i'm trying to hard or something is wrong here.
i have 2 postgres installations one at work 8.0.4 on windows xp and one
at home on os x 10.3.9 and postgres 8.0.3. i took a data file and
loaded into the installation at work with the copy command. but when
i try the same thing here on my os x installation i get the following
error.
ERROR: could not open file "data/pg_nor.out" for reading: No such file
or directory
the command i run is
copy mig_equip from 'data/pg_nor.out' using delimiters '|' with null as
'';
the command i used at work was
copy mig_equip from 'c:/tmp/pg_nor.out' using delimiters '|' with null
as '';
the only difference being the location of the file.
i've tried changing the location, ran with the full path, did chmod on
the file, ran dos2unix to make sure that the was not a problem with the
file format. so i'm stumped.
i'm afraid i'm missing something obvious but i can't figure it out.
any ideas?
thanks.
reiner
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-php@postgresql.org
Cc: zedaardv@drizzle.com
Subject: Re: copy error
In-Reply-To: <bb0c4023140f161caca4bf54067dd385@drizzle.com>
References: <bb0c4023140f161caca4bf54067dd385@drizzle.com>
* 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