pg.ddx.io pgsql-testers@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_upgrade 9b4 -> 9rc1 odd behavior with -u (non-)postgres
2+ messages / 2 participants
[nested] [flat]
* pg_upgrade 9b4 -> 9rc1 odd behavior with -u (non-)postgres
@ 2010-09-13 02:10 Lou Picciano <LouPicciano@comcast.net>
2010-09-13 22:17 ` Re: pg_upgrade 9b4 -> 9rc1 odd behavior with -u (non-)postgres Bruce Momjian <bruce@momjian.us>
0 siblings, 1 reply; 2+ messages in thread
From: Lou Picciano @ 2010-09-13 02:10 UTC (permalink / raw)
To: pgsql-testers
[TEST REPORT]
[Release]: 9.0 RC1
[Test Type]: pg_upgrade: 9.0-beta4 (Cluster 'A') -> 9.0-RC1 (Cluster 'B') user 'non'-postgres.
[Test]: pg_upgrade (...options...) -u master
[Platform]: Solaris 10 - Sun E450 Quad
[Parameters]: Our administrator role is 'master' in both clusters. User 'master' has been created in Cluster B, SUPERUSER LOGIN CREATEROLE CREATEDB, and has been given 'trust' access. Logging turned on in config. Otherwise, cluster has been left in 'initdb' condition.
[Failure]: YES.
[Results]: Script connect to Database 'A' and dumps catalog, apparently without error.
Connects to Database 'B', crashes on attempt to create user 'postgres' - which, of course, already exists. Any subsequent run crashes on attempt to create 'first' user in cluster, already created in prior run.
[Comments]: Collation and encoding significant? # initdb -D /cloud/rc1 -E UTF8 --locale=en_US.UTF-8 (to be sure Cluster B encoding and 'lc_collate' matches that of Cluster A)
DEBUG: autovacuum: processing database "postgres"
WARNING: some databases have not been vacuumed in over 2 billion transactions
DETAIL: You might have already suffered transaction-wraparound data loss.
(really looking forward to being able to use pg_upgrade; looks like it will save a lot of work!)=
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pg_upgrade 9b4 -> 9rc1 odd behavior with -u (non-)postgres
2010-09-13 02:10 pg_upgrade 9b4 -> 9rc1 odd behavior with -u (non-)postgres Lou Picciano <LouPicciano@comcast.net>
@ 2010-09-13 22:17 ` Bruce Momjian <bruce@momjian.us>
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Momjian @ 2010-09-13 22:17 UTC (permalink / raw)
To: Lou Picciano <LouPicciano@comcast.net>; +Cc: pgsql-testers
Lou Picciano wrote:
> [TEST REPORT]
> [Release]: 9.0 RC1
> [Test Type]: pg_upgrade: 9.0-beta4 (Cluster 'A') -> 9.0-RC1 (Cluster 'B') user 'non'-postgres.
> [Test]: pg_upgrade (...options...) -u master
> [Platform]: Solaris 10 - Sun E450 Quad
> [Parameters]: Our administrator role is 'master' in both clusters. User 'master' has been created in Cluster B, SUPERUSER LOGIN CREATEROLE CREATEDB, and has been given 'trust' access. Logging turned on in config. Otherwise, cluster has been left in 'initdb' condition.
> [Failure]: YES.
> [Results]: Script connect to Database 'A' and dumps catalog, apparently without error.
> Connects to Database 'B', crashes on attempt to create user 'postgres' - which, of course, already exists. Any subsequent run crashes on attempt to create 'first' user in cluster, already created in prior run.
> [Comments]: Collation and encoding significant? # initdb -D /cloud/rc1 -E UTF8 --locale=en_US.UTF-8 (to be sure Cluster B encoding and 'lc_collate' matches that of Cluster A)
> DEBUG: autovacuum: processing database "postgres"
> WARNING: some databases have not been vacuumed in over 2 billion transactions
> DETAIL: You might have already suffered transaction-wraparound data loss.
>
> (really looking forward to being able to use pg_upgrade; looks like it will save a lot of work!)
Did you run initdb with --username?
initdb --username=master
I am thinking you didn't because it says the 'postgres' user already
exists in the new cluster. Also, please show me the exact error
message.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2010-09-13 22:17 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-09-13 02:10 pg_upgrade 9b4 -> 9rc1 odd behavior with -u (non-)postgres Lou Picciano <LouPicciano@comcast.net>
2010-09-13 22:17 ` Bruce Momjian <bruce@momjian.us>
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