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 1oan0N-0002n4-1w for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Sep 2022 23:50:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oan0L-0001Ea-RQ for pgsql-hackers@arkaria.postgresql.org; Tue, 20 Sep 2022 23:50:17 +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 1oan0L-0001ER-FV for pgsql-hackers@lists.postgresql.org; Tue, 20 Sep 2022 23:50:17 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oan0I-0006CF-MH for pgsql-hackers@postgresql.org; Tue, 20 Sep 2022 23:50:16 +0000 Received: by mail-pl1-x630.google.com with SMTP id t3so3990785ply.2 for ; Tue, 20 Sep 2022 16:50:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date; bh=cm5ejqCGVvg3oZCdyTONXbaz5aOgtc6apigOLM4Y+tg=; b=R2IG2rsj5LV0lScVScyAaKt5WPchdHmVNckQLnDohxt7LH9HURSK8YDf9mBLnlq90P 9IYVPM9uyNRqJk74c3NrLbnOVQ8HxEcy7RLB/esAZUUeEmP26+4std0lid8kObY+uiXl nzgcka5SypBbEu2FAInG7PXOa6bFUnSDSUlD/1dq+TGFG8M7Jpn+gHp9qeiu4LYTiaOB OjNzOFddj2mMTLGTu67uLMJHDZp/z0PiqHvOxLB5eaLEuPUMAGdvn1UA0WT9+3MIMint ZGEgedDtMhwUCAkeLtiCB5yOM+azVVK8UOuh3a1BIFT9tYpwXlewgzVQIzXSbGpea1Vr /3Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date; bh=cm5ejqCGVvg3oZCdyTONXbaz5aOgtc6apigOLM4Y+tg=; b=U3JPT2Joqg5befUXSNcYF3KOhGqwot94XAi9/kpz5GoLQ++hjBZOl3HUg3fhpQWD8r 2a7X6t8u8tuWBOuEqEHaeEVFIJAF9dbcunudE9+Up9xxIIVpwhnFrcLv1HwwAQhlnOr2 AnCWpRc1FDopjvWuUosJTdN/1aKYbKpb8HZchuGsyTxtLc8lFg7C4WR4kam26PC6tMB4 8yTyEgAdnfLFJcOFVf1ytj9Jo6PQ461d9CHebDbyECbJsTr46U12zbQIyblquNRyLWN+ gxb7AUXphe091/vZQZ4+j/M0yPNfXHj9pIl+qdUukIErE0of/3nwnaoDfUFqVlUZRCkv us1Q== X-Gm-Message-State: ACrzQf3fHPudgW3Hfi9ipTKa5FuqoTTnLoDgqeI/Jl21/cc997Gkp3Sd L+Rm/aG9Lbxxtj0uAtcxU64= X-Google-Smtp-Source: AMsMyM5CHcKbXtamsALgEvzdaigLmfSBjenQ3oePC8EZixsxuT96M7QNwlja0LZ6ANah3V0Fzg2StA== X-Received: by 2002:a17:903:11c7:b0:178:af17:e93e with SMTP id q7-20020a17090311c700b00178af17e93emr2030008plh.78.1663717812638; Tue, 20 Sep 2022 16:50:12 -0700 (PDT) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id b14-20020a63340e000000b0043ba3d6ea3fsm518259pga.54.2022.09.20.16.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 16:50:12 -0700 (PDT) Date: Tue, 20 Sep 2022 16:50:10 -0700 From: Nathan Bossart To: Michael Paquier Cc: Robert Haas , Stephen Frost , Bharath Rupireddy , "David G. Johnston" , Kyotaro Horiguchi , "pgsql-hackers@postgresql.org" Subject: Re: predefined role(s) for VACUUM and ANALYZE Message-ID: <20220920235010.GB378596@nathanxps13> References: <20220906155432.GA1963795@nathanxps13> <20220907211343.GE26002@tamriel.snowman.net> <20220907221103.GA2095022@nathanxps13> <20220920035147.GA114383@nathanxps13> <20220920180533.GA205278@nathanxps13> <20220920233117.GA378596@nathanxps13> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220920233117.GA378596@nathanxps13> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Sep 20, 2022 at 04:31:17PM -0700, Nathan Bossart wrote: > On Tue, Sep 20, 2022 at 11:05:33AM -0700, Nathan Bossart wrote: >> On Tue, Sep 20, 2022 at 02:45:52PM +0900, Michael Paquier wrote: >>> Any impact for the column sizes of the catalogs holding ACL >>> information? Just asking while browsing the patch set. >> >> Since each aclitem requires 16 bytes instead of 12, I assume so. However, >> in my testing, I hit a "row is too big" error with the same number of >> aclitems in a pg_class row before and after the change. I might be missing >> something in my patch, or maybe I am misunderstanding how arrays of >> aclitems are stored on disk. > > Ah, it looks like relacl is compressed. The column is marked "extended," > but pg_class doesn't appear to have a TOAST table, so presumably no > out-of-line storage can be used. I found a couple of threads about this > [0] [1] [2]. I suppose there is some risk that folks with really long aclitem arrays might be unable to pg_upgrade to a version with uint64 AclModes, but I suspect that risk is limited to extreme cases (i.e., multiple thousands of aclitems). I'm not sure whether that's worth worrying about too much. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com