error input file appears to be a text format dump. please use psql code example
Example 1: pg_restore: error: input file appears to be a text format dump. Please use psql.
psql -Umyuser db_development < postgres_db.du
Example 2: pg_restore: error: input file appears to be a text format dump. Please use psql.
pg_restore --verbose --clean --no-acl --no-owner --host localhost --dbname my-destination-database /tmp/db.dump