I think you found a common stumbling block. The tutorial people follow may say to run pg_dump and many people would assume you're running it from the old version.
Yes, and usually, it means you need to use the full binary path unfortunately (because debian wrappers embedded in the package select the version from your 5432 cluster).
jasfi|3 years ago
rapind|3 years ago
OK upon further thought, what you're saying is to use the pg_dump tool that comes with the pg version you are upgrading to.
I read it as "use pg_dump instead of pg_restore"...
mh-|3 years ago
autra|3 years ago