What are possible ways to migrate SQL Server DB to PostgreSQL DB?
You can try to use Foreign Data Wrapper and tds_fdw

Or you can try pgloader.

Both work perfectly, are easy to set up and are packaged on any serious Linux distributions.