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

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Check that the pg_upgrade user specified is a super-user.
Date: 2011-05-07 12:55:47
Message-ID: E1QIh2x-0008Ba-W0@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/81301b85781245676f874ae3908015f05d3aaaa2

Modified Files
--------------
contrib/pg_upgrade/check.c | 29 ++++++++++++++++++++++++++++-
contrib/pg_upgrade/server.c | 6 ++++--
2 files changed, 32 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2011-05-07 16:17:51 pgsql: In pg_upgrade, report non-super-user username in error message.
Previous Message Robert Haas 2011-05-07 01:55:24 pgsql: Add comment about memory reordering to PredicateLockTupleRowVers