I\'m trying to restore a PostgreSQL database by executing the SQL that pg_dump created, on an empty database.
I\'m getting this error:
ERROR: syntax er
try with psql -d dbname -U user -f dumpfile.sql