Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qdLIi-0030s7-9V for pgsql-general@arkaria.postgresql.org; Tue, 05 Sep 2023 01:56:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qdLIg-00FkEM-Sx for pgsql-general@arkaria.postgresql.org; Tue, 05 Sep 2023 01:56:18 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qdLIg-00FkEE-Gw for pgsql-general@lists.postgresql.org; Tue, 05 Sep 2023 01:56:18 +0000 Received: from mail-ed1-x534.google.com ([2a00:1450:4864:20::534]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qdLIb-00367P-CR for pgsql-general@lists.postgresql.org; Tue, 05 Sep 2023 01:56:17 +0000 Received: by mail-ed1-x534.google.com with SMTP id 4fb4d7f45d1cf-52a5c0d949eso2590663a12.0 for ; Mon, 04 Sep 2023 18:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1693878971; x=1694483771; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=KbBFL4peCJVXEfDrHE/0hYjcFQR0iALVZyyiqqTequo=; b=O7mCKAS9iwkEmg89oe8weW8niqnt6YQnSWCoVIgxiovG3UKBFqexTNnhxnPhKudfQp iNA8FKVIWNvLSHomcdShVVj16P8CW2tWOHBEZXy0OWhLdnnQbZo7Bi3VGxoKP/qco0T3 GvfCj5QjF2zJIoEzz6WlUA73Scjyd2hOoslGTJ1GaSvCZkVZTUSVPk2f3QK0GDHjl5dk 30BN3tK/+PM6HwoOX6jVYrh46An2coWuBvPtA9wNnQoh/WpSPoWJIv8PNKuF4l12BZy2 qRRfIPLGvzTt6blZNCWvU8GhyeCT+H3CqO5cDiEqsetrjoIq4Z3qc7DyJSHKSUurvwr7 M/TQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693878971; x=1694483771; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=KbBFL4peCJVXEfDrHE/0hYjcFQR0iALVZyyiqqTequo=; b=dz8Mf/XDXEgWIC9Xyp4hmq37jqG3q3mmcDzOpQrnwdT2AqrHPGvtk/p5Z9g0MgbyO+ Aq6JFiCMFZGy7zHEbQ3nhNe6zfeqWoSy94zzb6GsZ4/Dvqc76VipKVNeDMKu7JGeeljM BgWT8aO6jA7AD77iPuFO4QVEKGap1PDoqCzBYuy3IF74J6iPOZfLn06ghZazcm/bn0t+ rbIJjwlGeZZMbRxQVRxlGuGM7SCiYonhZiz/7K9bggPmnW8v+hPaOFR8wYPTfE+Q547x HzKnbErQbd930R4vHDEsCfVGy07FOEYuJBPaSoSGAQk9ahlTPDUa9HEpZG8VyidQijJq GR/g== X-Gm-Message-State: AOJu0YxMbQbCotgADwZRcAU5DKUxJc/TqhWBbnw37f7X1NcXVi4UzDU2 Dh83Q4AznNZTVGxqPCStsgo7dQ== X-Google-Smtp-Source: AGHT+IG17RDU8XHuFGw3/h6bNNrS94XyWlIjsGIWHWmgSpT3BvsQrBrElWbI7CmREuSPjiw+/rDJMQ== X-Received: by 2002:a50:ed03:0:b0:522:30cc:a1f4 with SMTP id j3-20020a50ed03000000b0052230cca1f4mr10005669eds.0.1693878971174; Mon, 04 Sep 2023 18:56:11 -0700 (PDT) Received: from localhost.localdomain (178-190-171-95.adsl.highway.telekom.at. [178.190.171.95]) by smtp.gmail.com with ESMTPSA id n13-20020a05640206cd00b0052a1a623267sm6471068edy.62.2023.09.04.18.56.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Sep 2023 18:56:10 -0700 (PDT) Message-ID: <902263a3d738473e1d35ea3cb9db782c864dcfbc.camel@cybertec.at> Subject: Re: createuser unexpectedly creates superuser with createdb and createrole From: Laurenz Albe To: Erik Wienhold , Tom Lane Cc: "pgsql-general@lists.postgresql.org" Date: Tue, 05 Sep 2023 03:56:09 +0200 In-Reply-To: <498630446.200973.1693865033238@office.mailbox.org> References: <60174207.340484.1693356258123@office.mailbox.org> <9ec51cd3b8d4d3402187cb89ca2afb3c99e64e48.camel@cybertec.at> <1624623948.136031.1693791136215@office.mailbox.org> <1046709.1693791744@sss.pgh.pa.us> <498630446.200973.1693865033238@office.mailbox.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2023-09-05 at 00:03 +0200, Erik Wienhold wrote: > On 04/09/2023 03:42 CEST Tom Lane wrote: > > I think the last hunk of this is plenty sufficient, and the earlier > > ones just add noise. >=20 > Done. Looks good to me. Yours, Laurenz Albe