When I try to load a csv file into postgresql. I use the following command.
CREATE TABLE population(
COPY population FROM '/Users/chittampalliyashaswini/Desktop/population.csv'
DELIMITER ',' CSV HEADER;
Then I get the following error.
ERROR: could not open file "/Users/chittampalliyashaswini/Desktop/population.csv" for reading: Permission denied