I'm looking to copy CSV files using pgadmin iii. Very new to this.
When I run a "copy" command from the query builder, I'm getting the following error:
ERROR: could not open file 'C:\\Users\\Nick\\Documents\\CDR\\csv1.csv" for reading: Permission denied SQL state: 42501
I've found this mentioned a few other places (here here, and here for example , and the general fix is to add "postgres" to the file permissions (people also advise moving csv to the public folder, but this causes problems for other reasons).
But when I try to add postgres to the people with permissions in Windows 8, when I check the name I get an "the object postgres cannot be found" error.
If I add "Everyone" it works, but for obvious reasons I won't want to leave an important folder with "Everyone" access.
Can anyone please advise on how to give postgres permissions in Windows 8?
Thanks!