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 1rahsS-00B49r-Mg for pgsql-general@arkaria.postgresql.org; Thu, 15 Feb 2024 19:58:36 +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 1rahsQ-00FBqi-1O for pgsql-general@arkaria.postgresql.org; Thu, 15 Feb 2024 19:58:34 +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 1rahsP-00FBqa-Ic for pgsql-general@lists.postgresql.org; Thu, 15 Feb 2024 19:58:33 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rahsM-007Nob-PI for pgsql-general@lists.postgresql.org; Thu, 15 Feb 2024 19:58:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2024011501; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description; bh=Z39zRBlk1nlBraDf+wITBoVW5cCrz9nVe21XrFGT4rg=; b=Xfw2Z +wnOUambtuRVgC3Uxf75IYfGQdOROeBc+9dZLG0zU/VZ/kgQNTA50x1ODrjtV6/2Kb980md34D5s0 SAMStbgy3s4M/eW0mqwqdagH5TlSjiI1stJPviFnkUEmO2qElAY4LCjjixf0NitlTd7cTaBEE+GjN 96NEufJv92EyRqfvRFEMB+5A1Knk+5JLqlR1Eji8zVvCd291yMAhAN+6eVvFqy/vxF3UxYOaHfXfW NgC0W37Z+D3e2T5nL5jeKVr8DICxTmdYsE3Cs6dxY6ivR54VavZMaNK21Tjr8srzCILsGe1zgL5Ss C1C5CjywgE6kmkl2lFnjJ16q/ZQgQ==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1rahsK-009hty-1g; Thu, 15 Feb 2024 14:58:28 -0500 Date: Thu, 15 Feb 2024 14:58:28 -0500 From: Bruce Momjian To: Dominique Devienne Cc: pgsql-general@lists.postgresql.org Subject: Re: Trouble with v16 new CREATEROLE semantic Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Feb 15, 2024 at 06:07:51PM +0100, Dominique Devienne wrote: > When I read about v16, I thought great, this fits our intent, a single "owner" > ROLE with CREATEROLE which is limited to administering only the ROLEs it > created itself. I've always been bothered by the mega-power of CREATEROLE. But > now that we're actually trying to use it, I'm a bit worried. Can someone > explain (or guess) what I'm missing here? Well, have you read the PG 16 release notes? https://www.postgresql.org/docs/current/release-16.html You might also want to review my unreleased slide deck about users: https://momjian.us/main/writings/pgsql/user.pdf -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.