Permission denied when trying to import a CSV file from PGAdmin

后端 未结 7 856
轻奢々
轻奢々 2020-11-28 07:20

I\'m using PGAdmin 1.14.3.

When I try to execute an import command:

COPY grad(country_code, postal_code, place_name, admin_name1, admin_code1, admin_         


        
相关标签:
7条回答
  • 2020-11-28 07:54

    To solve this problem you must give permission to the CSV file because that CSV file present in a COPY command are read directly by the server, but not client application. So to make this file accessible to a server we must give full read-write permission so that Postgresql user can read and write on that file.

    Reference: article showing step by step procedure.

    0 讨论(0)
提交回复
热议问题