Tom Lane writes:
> This would require a nontrivial amount of work (notably, we'd have to
> be able to get pg_dump to run against a standalone backend) but I don't
> think I'd trust pg_upgrade as a production-grade tool until its
> invocation method looks like the above.
I would recommend requiring users to do the schema dump before upgrading
the binaries, so they'd do
pg_dumpall -s > schemadump
pg_ctl stop
[upgrade binaries]
pg_upgrade --option=schemadump
pg_ctl start
--
Peter Eisentraut peter_e(at)gmx(dot)net