pgAdmin file read question

Поиск
Список
Период
Сортировка
От Anthony DeBarros
Тема pgAdmin file read question
Дата
Msg-id CACJO+65Lh+mK4m75jsY0e4hai0jEbj7fGejpUdVzUgFxTZ3bXg@mail.gmail.com
обсуждение исходный текст
Список pgadmin-hackers
Hi,

Today I was attempting to support one of the readers of my book Practical SQL who was having trouble running COPY statements on his machine. He kept receiving the typical error one gets when a filename or path is incorrect or the folder is locked down.

e.g.,
ERROR: could not open file "/Users/xxx/filename.csv 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. SQL state: 42501

What's odd is that he can successfully use the pgAdmin Import/Export wizard to import the same file.

He's on macOS Ventura running latest pgAdmin and Postgres 15. I myself am on Ventura with the same setup and have no problems.

Any ideas on system settings he might check?

Thanks,
Anthony DeBarros

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Yogesh Mahajan
Дата:
Сообщение: [pgadmin-org/pgadmin4] acc267: Fixed a missing "jwks_uri" in metadata error that ...
Следующее
От: Nikhil Mohite
Дата:
Сообщение: [pgadmin-org/pgadmin4] 64af03: Ensure that the submenus under the trigger's conte...