简体   繁体   中英

Running psql with pgAdmin4

I try to open a csv file in PGadmin4 with COPY. However it does not work. The permission is denied and suggests me to use \\copy from pgsql.

I tried to replace COPY by \\copy, did not work.

I guess that pgsql must be run another way. I saw there ,example with \\copy, that it run with a shell file .sh. However I'm using Windows.

How to run pgsql request ?

Thank you

Try Import/Export option in pgAdmin4 to import your CSV data into Table.

Ref: https://www.pgadmin.org/docs/pgadmin4/dev/import_export_data.html

I answer you on my own question page. Yes, psql is the SQL Shell program and you could start it from the Postgresql folder (from where you start pgAdmin). You do not need of psql if you use pgAdmin.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM