pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <daniel@yesql.se>
To: Dávid Suchan <david.suchan@student.tuke.sk>
Cc: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Subject: Re: pg_upgrade Only the install user can be defined in the new cluster
Date: Thu, 16 Mar 2023 20:14:43 +0100
Message-ID: <CFECA208-47CA-40C3-B022-4CDCFD4D03EC@yesql.se> (raw)
In-Reply-To: <VE1P191MB111805B6886F6AD3E78E620BD6BC9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM>
References: <VE1P191MB1118E9752D4EAD45205E995CD6BF9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM>
	<667112E0-5A1C-4F74-86F8-54B121C2336C@yesql.se>
	<VE1P191MB1118026DEE572DFB06D0AA1ED6BF9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM>
	<021ED6C2-C01F-4E5B-8415-10C1BE29FCBA@yesql.se>
	<VE1P191MB111805B6886F6AD3E78E620BD6BC9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM>

> On 16 Mar 2023, at 15:56, Dávid Suchan <david.suchan@student.tuke.sk> wrote:
> 
> So I tried upgrading into this brand new cluster I created(using initdb -D /somedatapathichose). Running the upgrade with --check worked, it returned message that the clusters are identical. Then I stopped the new cluster, and ran the pg_upgrade without --check, which resulted in another:
> Checking database user is the install user

pg_upgrade --check does not alter the new cluster in any way, so you must have
some form of processing on your system that configured the new cluster with
roles (and possibly other things) in between these runs.

--
Daniel Gustafsson






view thread (14+ messages)  latest in thread

Message-ID: <CFECA208-47CA-40C3-B022-4CDCFD4D03EC@yesql.se>
Permalink:  ../CFECA208-47CA-40C3-B022-4CDCFD4D03EC@yesql.se/
Also on:    postgresql.org/message-id/CFECA208-47CA-40C3-B022-4CDCFD4D03EC@yesql.se

 · 

reply

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-general@postgresql.org
  Cc: daniel@yesql.se, david.suchan@student.tuke.sk
  Subject: Re: pg_upgrade Only the install user can be defined in the new cluster
  In-Reply-To: <CFECA208-47CA-40C3-B022-4CDCFD4D03EC@yesql.se>
  References: <VE1P191MB1118E9752D4EAD45205E995CD6BF9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM> <667112E0-5A1C-4F74-86F8-54B121C2336C@yesql.se> <VE1P191MB1118026DEE572DFB06D0AA1ED6BF9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM> <021ED6C2-C01F-4E5B-8415-10C1BE29FCBA@yesql.se> <VE1P191MB111805B6886F6AD3E78E620BD6BC9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM> <CFECA208-47CA-40C3-B022-4CDCFD4D03EC@yesql.se>

* 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