From: Jean-Luc Lachance <jllachan@nsd.ca>
To: rama tulasi <ramtulasim@yahoo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: error during copying .txt file
Date: Tue, 19 Mar 2002 15:51:43 -0500
Message-ID: <3C97A4DF.B036F840@nsd.ca> (raw)
References: <20020319084838.105.qmail@web12706.mail.yahoo.com>
Rama,
Are psql and the postgres server on the same machine?
If so, make sure the file is world readable (and the directories as
well).
If not, try:
psql -h host -d database -c "copy hour from stdin delimiters ',';" <
/home/staff/band.txt
rama tulasi wrote:
>
> hi,
> can you help me to solve this problem..
> copy hour from '/home/staff/band.txt' using delimiters
> ',';
> ERROR: COPY command, running in backend with
> effective uid 26, could not open file
> '/home/staff/band.txt' for reading. Errno =
> Permission denied (13).
>
> i am very greatful to you if you able to solve my
> problem.
>
> Thanks In advance
> Tulasi
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
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-admin@postgresql.org
Cc: jllachan@nsd.ca, ramtulasim@yahoo.com
Subject: Re: error during copying .txt file
In-Reply-To: <3C97A4DF.B036F840@nsd.ca>
References: <20020319084838.105.qmail@web12706.mail.yahoo.com> <3C97A4DF.B036F840@nsd.ca>
* 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