Re: read in to psql from file - Mailing list pgsql-general

From Roderick A. Anderson
Subject Re: read in to psql from file
Date
Msg-id Pine.LNX.4.10.10109190712040.9485-100000@tincan.org
Whole thread Raw
In response to read in to psql from file  (Doug Moore <moored3947@home.com>)
List 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.


pgsql-general by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: Performance problems with arithmetic operators
Next
From: "Mihai Gheorghiu"
Date:
Subject: Messages