From: | Jean-Luc Lachance <jllachan(at)nsd(dot)ca> |
---|---|
To: | rama tulasi <ramtulasim(at)yahoo(dot)com> |
Cc: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: error during copying .txt file |
Date: | 2002-03-19 20:51:43 |
Message-ID: | 3C97A4DF.B036F840@nsd.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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(at)postgresql(dot)org)
From | Date | Subject | |
---|---|---|---|
Next Message | Fred Moyer | 2002-03-19 21:39:26 | pg_dump max file size exceeded |
Previous Message | bangh | 2002-03-19 19:23:58 | Re: error during copying .txt file |