This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Examples usage: | |
| # export DBCONN1=posrgresql://user1:pass1@host1:port1/db1 | |
| # export DBCONN2=posrgresql://user2:pass2@host2:port2/db2 | |
| # SCHEMAS="schema1 schema2" pgdiff.sh | |
| # | |
| # Exit with non-zero status if there are any differences or errors. | |
| # |