I'm trying to import a PostgreSQL database in Ubuntu. Everything is installed and updated but the problem still presists, any ideas on how to fix this?
Asked
Active
Viewed 1,004 times
-1
-
Use the [COPY](https://www.postgresql.org/docs/12/sql-copy.html) or \COPY. – Belayer Jun 03 '21 at 19:06
1 Answers
0
Login to psql terminal by typing this
sudo -u postgres psql
Enter this command in the psql terminal, exit and try again.
alter role postgres superuser;

Praveen Kumar
- 849
- 8
- 8