BUG #16798: SQL Error - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16798: SQL Error
Date
Msg-id 16798-79d0596541ca9bad@postgresql.org
Whole thread Raw
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16798
Logged by:          Oluwasola Arigbabowo
Email address:      ok.arigbabowo@gmail.com
PostgreSQL version: 10.0
Operating system:   Windows 10
Description:

Hi,
I encountered an error when I was trying to copy a csv file into a table
created in a database inside the server. The code I used is :

Copy Customer from 'C:\\Users\\okari\\Customer.csv' delimiter ',' csv
header;

and the error that resulted is given below.

ERROR:  could not open file "C:\\Users\\okari\\Customer.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

I would appreciate some help with this.

Thanks
OK


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #16797: EXTRACT(EPOCH FROM timestamp) is not using local timezone
Next
From: PG Bug reporting form
Date:
Subject: BUG #16799: postgresql log issue(last completed transaction was at log time)