I have a postgresql db with a number of tables. If I query:
SELECT column_name FROM information_schema.columns WHERE table_name=\"my_table\";
In my case, the dump file I restored had these commands.
CREATE SCHEMA employees; SET search_path = employees, pg_catalog;
I've commented those and restored again. The issue got resolved