Re: read in to psql from file

From: "Roderick A(dot) Anderson" <raanders(at)tincan(dot)org>
To: Doug Moore <moored3947(at)home(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: read in to psql from file
Date: 2001-09-19 14:14:41
Message-ID: Pine.LNX.4.10.10109190712040.9485-100000@tincan.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 17 Sep 2001, Doug Moore wrote:

> Hi,
>
> \i /root/phones
>
> I get back "/root/phones: permission denied"

Most probably you don't have access to /root. Regardless of the
permissions on a file in the directory if you can't get into the
directory you can get to the file.
I suggest you move the file to a more open location verses opening
/root up.

> I am in psql as the user who owns the database.
> The file in question is readable and writeable by all.

Cheers,
Rod
--
A small clue and no money
will get you further than
lots of money and no clue.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marc G. Fournier 2001-09-19 14:14:44 Re: Major change to CVS effective immediately ...
Previous Message Tom Lane 2001-09-19 13:59:09 Re: read in to psql from file