Comparing table structure and contents using pg_dump output from two different databases
Simplest way would be to dump the schema as plain sql and use text diff. 

Or you can use tool like apgdiff which produces ddl statements representing the difference between the two database schemas.