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 VE1P191MB1118026DEE572DFB06D0AA1ED6BF9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: pg_upgrade Only the install user can be defined in the new cluster  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: pg_upgrade Only the install user can be defined in the new cluster  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-general
It prints out:
 count
-------
     1
(1 row)

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: Adrian Klaver
Date:
Subject: Re: Table scan on 15.2
Next
From: Arthur Ramsey
Date:
Subject: Re: Table scan on 15.2