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 1pCiHn-0003FY-0w for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Jan 2023 14:29:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pCiHl-0005nj-Up for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Jan 2023 14:29:01 +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 1pCiHl-0005na-Lu for pgsql-hackers@lists.postgresql.org; Tue, 03 Jan 2023 14:29:01 +0000 Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1pCiHj-0004a7-OU for pgsql-hackers@postgresql.org; Tue, 03 Jan 2023 14:29:01 +0000 Received: by mail-il1-x12e.google.com with SMTP id h26so3807616ila.11 for ; Tue, 03 Jan 2023 06:28:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=G7yrWxi36jx/0JcII43b7pq/athUj9+ZdleEVvgEn8A=; b=3cDEswqKMyHbTh0rPTi83WZIxMKL9g6Pkp8j/mYMchfY8J2EGms34uIT71j4wwWNSx kXqb4ZPDIMI4ZBNesaq1rS/E2d3PNsjtApIn8uaGjMKt7lLLXlDqLe0Y47Tym1al6FWR aqWyL4jhY0vFQmRJa7m00xq6JvxjN4IqO7Ti6oQ0/ZKFmKlOfj2rRCti3B+khNDTjZl8 1oqEc5sETX7RMRbgVApNVtVBWTDmWjRYYd95qZoL3iNc9b1YqOVtM4qURLB1VtII99AT /Dge33EX5chevhcPqI2Dx7sN1JCHb1R0IMVbobKNrgOtuNotEgBlKn9D60firYKYuUYf 2lJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=G7yrWxi36jx/0JcII43b7pq/athUj9+ZdleEVvgEn8A=; b=JfNQwmjfJ9s0+/skQWsrBXF5FTFLXVwtBNig1RvJt30Q2jHORKd24C90AfvOi2Wl4g 8A5OEaDANRRUsnOJRIo8CTwpxPu3liFsxxGVoof7xUGFPB+4oHajE7VBvYWfqbDwrtwN YlqQtUvHHVzVbyx6VCDZ8COmcN/PHkdOQQ19BifsJdNgohItbxKrwG5TeqMwiGdMvKk3 ab/Gtc7e9bieeDQ4Bw9KtLYnBdmXJ+OP67UMKkk7Cx7uZH+VMnzJ0MF8auuy7O10wMzM OLFoygZX5kBRLesXNoHngjSDzKhZMk34qgaPR8F/wbc/s/TcCTsgM/p2rEOml+QxEH8M O9gg== X-Gm-Message-State: AFqh2kp2FrVMgfazakA5E7MjaMyMLq2CtBnMaiCvIzk4ON/EpZqqlKvv 2wNgV3FhvOgbn/qBG90zcJqr8g== X-Google-Smtp-Source: AMrXdXsp3VfhwuA5rkzBs+aeB4DmJKY0+2KTaeMfdkz6V1MJMgk+88fG1pz5Itj3ZaIZSZONL3MhyA== X-Received: by 2002:a92:c90b:0:b0:302:110a:35af with SMTP id t11-20020a92c90b000000b00302110a35afmr29138924ilp.16.1672756138023; Tue, 03 Jan 2023 06:28:58 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id p10-20020a92d68a000000b0030c661606eesm332181iln.63.2023.01.03.06.28.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Jan 2023 06:28:57 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id AFD7F800C82; Tue, 3 Jan 2023 08:28:56 -0600 (CST) Date: Tue, 3 Jan 2023 08:28:56 -0600 From: Justin Pryzby To: Alexander Korotkov , Pavel Borisov Cc: Tom Lane , Alvaro Herrera , Steve Chavez , Kyotaro Horiguchi , nathandbossart@gmail.com, pgsql-hackers@postgresql.org Subject: Re: Allow placeholders in ALTER ROLE w/o superuser Message-ID: <20230103142856.GN1153@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jan 03, 2023 at 02:20:38PM +0300, Pavel Borisov wrote: > Hi, Alexander! > > On Tue, 3 Jan 2023 at 13:48, Alexander Korotkov wrote: > > > > On Tue, Jan 3, 2023 at 11:51 AM Pavel Borisov wrote: > > > On Tue, 3 Jan 2023 at 09:29, Alexander Korotkov wrote: > > > > > > > > On Mon, Jan 2, 2023 at 6:42 PM Justin Pryzby wrote: > > > > > On Mon, Jan 02, 2023 at 06:14:48PM +0300, Alexander Korotkov wrote: > > > > > > I'm going to push this if no objections. > > > > > > > > > > I also suggest that meson.build should not copy regress_args. > > > > > > > > Good point, thanks. > > > Nice, thanks! > > > Isn't there the same reason to remove regress_args from meson.build in > > > oat's test and possibly from other modules with runningcheck=false? > > > > This makes sense to me too. I don't see anything specific in oat's > > regression test that requires setting regress_args. > Yes, it seems so. > Regress args in oat's Makefile are added as a response to a buildfarm > issues by 7c51b7f7cc08. They seem unneeded to be copied into > meson.build with runningcheck=false. I may mistake but it seems to me > that removing regress_args from meson.build with runningcheck=false is > just to make it neat, not for functionality. So I consider fixing it > in pg_db_role_setting, oat, or both of them optional. Right - my suggestion is to "uncopy" them from pg_db_role_setting, where they serve no purpose, since they shouldn't have been copied originally. On Tue, Jan 03, 2023 at 09:29:00AM +0300, Alexander Korotkov wrote: > On Mon, Jan 2, 2023 at 6:42 PM Justin Pryzby wrote: > > On Mon, Jan 02, 2023 at 06:14:48PM +0300, Alexander Korotkov wrote: > > > I'm going to push this if no objections. > > > > I also suggest that meson.build should not copy regress_args. > > Good point, thanks. I should've mentioned that the same things should be removed from Makefile, too... -- Justin