2 # Postgresql schema comparer
3 # Copyright 2007 Svenne Krap
4 # Released under ASL 2.0
7 echo "DB compare <db1> <db2>"
14 echo "Compare PostgreSQL database $DB1 and $DB2"
15 echo "No lines below this means database structure is equal. Data is not checked."
16 pg_dump --schema-only $DB1 > $File1
17 pg_dump --schema-only $DB2 > $File2