I am trying to migrate over a postgres DB from a Heroku instance.
The restore works up until it gets stuck on a large-ish table and then I get: PQputCopyData: SSL connection has been closed unexpectedly
I am on the standard postgres plan. I have tried SSH’ing into the web app and doing the pg_restore locally but got a similarr error. I also tried the various suggested methods here for similar data loading issues and still get the same error message.