Importieren Sie .SQL in den Befehl postgres db
psql -h localhost -U postgres -d postdata -f D:\Backup\database.sql
Helpful Hippopotamus
psql -h localhost -U postgres -d postdata -f D:\Backup\database.sql
psql databasename < data_base_dump