1.schema download
2.graphviz download
https://graphviz.gitlab.io/_pages/Download/Download_windows.html
Path:
3.PostgresSQL JDBC download
https://jdbc.postgresql.org/download.html
4.c:\tools>java -jar schemaspy-6.1.0.jar -t pgsql -dp .\postgresql-42.2.12.jar -db postgres -host 127.0.0.1 -port 5432 -s public -u postgres -p password -o .\ER
6.index.html