Using the pgAdmin4 and attempting to restore a .sql file through the GUI for local use.
I'm presented with the error: pg_restore: [archiver] input file appears to be a text format dump. Please use psql.
I'm failing to understand why this is the case when the file has a .sql extension - is there anyway to convert this file to psql as the error message suggests?
The file is viewable here: https://github.com/datacamp/courses-intro-to-sql/tree/master/datasets