copy to permission denied postgres code example
Example: permission denied postgres \copy csv command line
Give a permission to postgres user with chown command
like :
sudo chown postgres:postgres /home/username/Desktop/postgresData
Give a permission to postgres user with chown command
like :
sudo chown postgres:postgres /home/username/Desktop/postgresData