Re: pg_upgrade Only the install user can be defined in the new cluster - Mailing list pgsql-general

From Dávid Suchan
Subject Re: pg_upgrade Only the install user can be defined in the new cluster
Date
Msg-id VE1P191MB111815900E362D0C6170E227D6BF9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM
Whole thread Raw
In response to pg_upgrade Only the install user can be defined in the new cluster  (Dávid Suchan <david.suchan@student.tuke.sk>)
List pgsql-general
Can i create a brand new cluster and check it that way? Since I had to stop / shut down the 14 cluster in order to proceed with pg_upgrade and I dont know how can i connect to it now ...

Od: Dávid Suchan <david.suchan@student.tuke.sk>
Odoslané: streda 15. marca 2023 14:47
Komu: Daniel Gustafsson <daniel@yesql.se>
Predmet: Re: pg_upgrade Only the install user can be defined in the new cluster
 
Can i create a brand new cluster and check it that way? Since I had to stop / shut down the 14 cluster in order to proceed with pg_upgrade and I dont know how can i connect to it now ...

Od: Daniel Gustafsson <daniel@yesql.se>
Odoslané: streda 15. marca 2023 13:27
Komu: Dávid Suchan <david.suchan@student.tuke.sk>
Kópia: pgsql-general@postgresql.org <pgsql-general@postgresql.org>
Predmet: Re: pg_upgrade Only the install user can be defined in the new cluster
 
> On 15 Mar 2023, at 10:30, Dávid Suchan <david.suchan@student.tuke.sk> wrote:

> ..there are no other users in the db.

The check in question performs this:

        SELECT COUNT(*) FROM pg_catalog.pg_roles WHERE rolname !~ '^pg_';

What do you get when running that in the new v14 cluster?

--
Daniel Gustafsson

pgsql-general by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: pg_upgrade Only the install user can be defined in the new cluster
Next
From: Daniel Gustafsson
Date:
Subject: Re: pg_upgrade Only the install user can be defined in the new cluster