I'm really scratching my head. I was under the impression that newer versions of pg_dump can export from older versions. However, I keep getting this error:
pg_dump: error: aborting because of server version mismatch
pg_dump: detail: server version: 8.0.2; pg_dump version: 16.2
I'm exporting from a running RDS instance using a local install of Postgres on Macos. I tried and failed to locate an old version of pg_dump (compilable for Macos, only found windows).
Is this version just too old? Or maybe the semantic versioning parser is broken and it thinks 16.2 < 8.0.2?