Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcsHD-0001Wb-5a for pgsql-general@arkaria.postgresql.org; Thu, 16 Mar 2023 18:24:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pcsHC-0003hL-1J for pgsql-general@arkaria.postgresql.org; Thu, 16 Mar 2023 18:24:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcsHB-0003gr-Ms for pgsql-general@lists.postgresql.org; Thu, 16 Mar 2023 18:24:33 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcsH7-0002ps-Vr for pgsql-general@postgresql.org; Thu, 16 Mar 2023 18:24:33 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 32GIOSVH3958122; Thu, 16 Mar 2023 14:24:28 -0400 From: Tom Lane To: =?Windows-1252?Q?D=E1vid_Suchan?= cc: Daniel Gustafsson , "pgsql-general@postgresql.org" Subject: Re: pg_upgrade Only the install user can be defined in the new cluster In-reply-to: References: <667112E0-5A1C-4F74-86F8-54B121C2336C@yesql.se> <021ED6C2-C01F-4E5B-8415-10C1BE29FCBA@yesql.se> Comments: In-reply-to =?Windows-1252?Q?D=E1vid_Suchan?= message dated "Thu, 16 Mar 2023 14:56:48 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3958120.1678991068.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 16 Mar 2023 14:24:28 -0400 Message-ID: <3958121.1678991068@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk =3D?Windows-1252?Q?D=3DE1vid_Suchan?=3D wri= tes: > The ' SELECT COUNT(*) FROM pg_catalog.pg_roles WHERE rolname !~ '^pg_'; = ' prints count 4 4? That would be the problem all right. What are those, that is what do you get from SELECT rolname FROM pg_catalog.pg_roles WHERE rolname !~ '^pg_'; on the new cluster? regards, tom lane