Using file_fdw to load tsv file into Foreign Table gives Permission denied error

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Using file_fdw to load tsv file into Foreign Table gives Permission denied error
Дата
Msg-id 155092247881.1380.8787497850816936733@wrigleys.postgresql.org
обсуждение исходный текст
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/file-fdw.html
Description:

CREATE EXTENSION file_fdw;
CREATE SERVER svr_file FOREIGN DATA WRAPPER file_fdw;
CREATE FOREIGN TABLE fdt_topups (seq integer ,  id_user integer ,
topup_date date ,  topup_value integer )  SERVER svr_file  OPTIONS ( format
'csv', header 'true',  filename 'C:/Users/Vipul/Downloads/topups.tsv',
delimiter E'\t', null '');

ERROR:  could not open file "C:/Users/Vipul/Downloads/topups.tsv" 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.

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Improve documentation for current_setting function
Следующее
От: Jürgen Purtz
Дата:
Сообщение: Re: First SVG graphic