Re: COPY FROM appears broken in PostgreSQL 15

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: COPY FROM appears broken in PostgreSQL 15
Date: 2023-10-31 21:11:44
Message-ID: 2637137.1698786704@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

richard coleman <rcoleman(dot)ascentgl(at)gmail(dot)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

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2023-10-31 21:19:03 Re: COPY FROM appears broken in PostgreSQL 15
Previous Message richard coleman 2023-10-31 21:08:50 COPY FROM appears broken in PostgreSQL 15