From: brorfred@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #11090: Unclear error message in pg_upgrade
Date: Tue, 29 Jul 2014 17:40:23 +0000
Message-ID: <20140729174023.16601.48893@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
The following bug has been logged on the website:
Bug reference: 11090
Logged by: Bror Jonsson
Email address: brorfred@gmail.com
PostgreSQL version: 9.2.0
Operating system: Mac OS X
Description:
pg_upgrade requires that the old and new database has the same install
superuser (superuser that ran initdb). If this requirement isn't fulfilled,
you'll get the following error:
"Old and new cluster install users have different values for
pg_authid.oid.\n"
(https://github.com/postgres/postgres/blob/master/contrib/pg_upgrade/check.c,
line 168)
This was very confusing to me. A suggested rephrase would be:
"Old and new cluster must be created by the same user. Try to re-init the
new database with the flag "-U %s" \n"
Where %s is the the install user in the old cluster.
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: brorfred@gmail.com
Subject: Re: BUG #11090: Unclear error message in pg_upgrade
In-Reply-To: <20140729174023.16601.48893@wrigleys.postgresql.org>
References: <20140729174023.16601.48893@wrigleys.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox