I have a plain SQL file that is quite big (>70GB) and need to send it over to a server via a slow connection. Is there any way to convert it into a binary pgdump file without restoring the whole DB locally?
It's basically this question reversed: How do I convert a binary pgdump (compressed) to a plain SQL file?