I am using PostgreSQL 12.2, and I have some *.sql files to import into a database
pg_restore -U postgres -d iotmaster -f D:\iotmaster.sql
But I am facing this Error
pg_restore: error: options -d/--dbname and -f/--file cannot be used together
How to import .sql file in my database?