Re: COPY ... FROM Permission denied ... - Mailing list pgsql-general

From Tom Lane
Subject Re: COPY ... FROM Permission denied ...
Date
Msg-id 9771.1231269142@sss.pgh.pa.us
Whole thread Raw
In response to COPY ... FROM Permission denied ...  (Pedro Doria Meunier <pdoria@netmadeira.com>)
List pgsql-general
Pedro Doria Meunier <pdoria@netmadeira.com> writes:
> All I'm getting is a Permission denied upon issuing the COPY command from
> within psql interactive terminal!

Since you didn't show what you did or what the error was, we're just
guessing ... but I'm going to guess that you should use \copy not COPY.
The server normally can't read files in your home directory.

            regards, tom lane

pgsql-general by date:

Previous
From: "Scott Marlowe"
Date:
Subject: Re: COPY ... FROM Permission denied ...
Next
From: Pedro Doria Meunier
Date:
Subject: Re: COPY ... FROM Permission denied ...