Re: COPY FROM appears broken in PostgreSQL 15 - Mailing list pgsql-admin

From Tom Lane
Subject Re: COPY FROM appears broken in PostgreSQL 15
Date
Msg-id 2637137.1698786704@sss.pgh.pa.us
Whole thread Raw
In response to COPY FROM appears broken in PostgreSQL 15  (richard coleman <rcoleman.ascentgl@gmail.com>)
Responses Re: COPY FROM appears broken in PostgreSQL 15
List pgsql-admin
richard coleman <rcoleman.ascentgl@gmail.com> writes:
> Did something happen to the COPY FROM command in PostgreSQL 15?

It seems quite unlikely that you'd be the first to notice such
a fundamental problem.

> ERROR:  could not open file "/{path}/{file}" for reading: Permission denied
> HINT:  COPY FROM instructs the PostgreSQL server process to read a file.
> You may want a client-side facility such as psql's \copy.

> I have checked and the postgres user can read/write to the file just fine.

Check that again.  Check lookup permission on all the directories in
the path, too.

            regards, tom lane



pgsql-admin by date:

Previous
From: richard coleman
Date:
Subject: COPY FROM appears broken in PostgreSQL 15
Next
From: Tom Lane
Date:
Subject: Re: COPY FROM appears broken in PostgreSQL 15