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 1kZz5O-0005Kr-84 for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Nov 2020 16:23:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kZz5N-0001zB-4c for pgsql-bugs@arkaria.postgresql.org; Tue, 03 Nov 2020 16:23:05 +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 1kZz5M-0001z3-V6 for pgsql-bugs@lists.postgresql.org; Tue, 03 Nov 2020 16:23:04 +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 1kZz5K-00007r-S4 for pgsql-bugs@lists.postgresql.org; Tue, 03 Nov 2020 16:23:04 +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 0A3GMxY1923006; Tue, 3 Nov 2020 11:23:00 -0500 From: Tom Lane To: Wolfgang Walther cc: pgsql-bugs@lists.postgresql.org Subject: Re: User with BYPASSRLS privilege can't change password In-reply-to: References: Comments: In-reply-to Wolfgang Walther message dated "Tue, 03 Nov 2020 16:51:07 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <923004.1604420579.1@sss.pgh.pa.us> Date: Tue, 03 Nov 2020 11:22:59 -0500 Message-ID: <923005.1604420579@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Wolfgang Walther writes: > CREATE USER bob BYPASSRLS; > SET ROLE bob; > ALTER USER bob PASSWORD 'x'; > -- ERROR: must be superuser to change bypassrls attribute Yeah, duplicated here on HEAD. The error message seems to think the command is trying to remove the BYPASSRLS privilege, which suggests somebody forgot to copy that flag somewhere where it needs to be copied. Haven't dug further than that. regards, tom lane