Re: Populating a database

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: papapep <papapep(at)gmx(dot)net>
Cc: pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Populating a database
Date: 2002-11-04 15:35:18
Message-ID: 20021104153518.GA7264@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, Nov 04, 2002 at 16:05:02 +0100,
papapep <papapep(at)gmx(dot)net> wrote:
> First of all thanks for your ultrafast answer ;-D
> Now, having a look at the copy order, it seems I've got some problems
> with file permissions although I'm the root and have put all the files
> and directories to 0777 (yes, I know I have to log in postgresql with
> another user than root, I've done it already). Where is suposed to be
> the file I'm going to insert in the databases's table? If I tell to the
> copy command something like :
>
> \copy tablename from '\path\to\file.csv' using delimiters ','
>
> Should it work?

Are you sure you want to use \s? The normal file separator on unix
systems is /.
You may also have a problem with access to one of the directories in the
path.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Henshall, Stuart - Design & Print 2002-11-04 16:09:45 Re: AutoIncrement not working on this table only
Previous Message cristi 2002-11-04 15:11:48 Re: owner of type 'mmm' apperars to be invalid