I have problem when run 1 project NodeJs with PostgreSQL database. I have error when trying to insert data in pgAdmin using the COPY command.
COPY
CO
First step is to create the Database belgianbeers on pgAdmin.
belgianbeers
Then open prompt and run psql -U postgres -d belgianbeers -a -f beers.sql
psql -U postgres -d belgianbeers -a -f beers.sql
This command line running e update database tables.
Note: -U postgres = specifies postgres as the username
-U postgres
postgres