Install apgdiff by entering the following commands in the terminal:
sudo apt update sudo apt install apgdiff
Description:
Another PostgreSQL Diff Tool
Another PostgreSQL Diff Tool is a simple PostgreSQL diff tool that is useful for schema upgrades. The tool compares two schema dump files and creates an SQL output file that is (after some hand-made modifications) suitable for upgrades of old schemata.
Homepage: http://apgdiff.startnet.biz/
Version: 2.5.0~alpha.2-75-gcaaaed9-1
Section: universe/misc