if your dbeaver connection to heroku postgres db fails with this message: “FATAL: no pg_hba.conf entry for host “...”, user “...”, database “...”, SSL off”
you will need to:
PS.
In Linux/Mac run the command
export PGSSLMODE=require
before running the pg_restore command.