Re: pg_upgrade Only the install user can be defined in the new cluster

From: Dávid Suchan <david(dot)suchan(at)student(dot)tuke(dot)sk>
To: Daniel Gustafsson <daniel(at)yesql(dot)se>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_upgrade Only the install user can be defined in the new cluster
Date: 2023-03-15 15:39:23
Message-ID: VE1P191MB1118026DEE572DFB06D0AA1ED6BF9@VE1P191MB1118.EURP191.PROD.OUTLOOK.COM
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

It prints out:
count
-------
1
(1 row)
________________________________
Od: Daniel Gustafsson <daniel(at)yesql(dot)se>
Odoslané: streda 15. marca 2023 13:27
Komu: Dávid Suchan <david(dot)suchan(at)student(dot)tuke(dot)sk>
Kópia: pgsql-general(at)postgresql(dot)org <pgsql-general(at)postgresql(dot)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(dot)suchan(at)student(dot)tuke(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arthur Ramsey 2023-03-15 15:53:06 Re: Table scan on 15.2
Previous Message Adrian Klaver 2023-03-15 15:20:22 Re: Table scan on 15.2