Skip site navigation (1) Skip section navigation (2)

copy import csv problem

From: Peter Lowman <itsasecret4(at)bigpond(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: copy import csv problem
Date: 2002-04-13 23:12:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Have only just installed RH7.2 and pgsql

I'm trying to import an access csv file have already setup db with
necessary columns.

COPY wests from '/home/peter/wests.csv' using delimiters ';';

ERROR: COPY command, running in background with effective uid 26, could
not open file '/home/peter/wests.csv' for reading. Errno = Permission
denied (13).

I can view the file with editors etc.  I'v tried su postgres, same result.

How can can I get permission?



pgsql-novice by date

Next:From: Andrew McMillanDate: 2002-04-13 23:20:10
Subject: Re: copy import csv problem
Previous:From: Peter LowmanDate: 2002-04-13 23:05:35
Subject: copy import csv problem

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group