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 223 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
- 543
- 4
- 8