Check that the pg_upgrade user specified is a super-user.

Bruce Momjian <bruce@momjian.us>

Commit: 81301b85781245676f874ae3908015f05d3aaaa2
Author: Bruce Momjian <bruce@momjian.us>
Date: 2011-05-07T12:55:45Z
Releases: 9.1.0
Check that the pg_upgrade user specified is a super-user.

Also report the error message when the post-pg_ctl connection fails.

Per private bug report from EnterpriseDB.

Files

PathChange+/−
contrib/pg_upgrade/check.c modified +28 −1
contrib/pg_upgrade/server.c modified +4 −2