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 1p398c-000457-Uz for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Dec 2022 05:08:02 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p398b-0001ee-TH for pgsql-hackers@arkaria.postgresql.org; Thu, 08 Dec 2022 05:08: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 1p398b-0001cD-JQ for pgsql-hackers@lists.postgresql.org; Thu, 08 Dec 2022 05:08:01 +0000 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p398Y-0005IW-NF for pgsql-hackers@postgresql.org; Thu, 08 Dec 2022 05:08:00 +0000 Received: by mail-pl1-x636.google.com with SMTP id k7so470315pll.6 for ; Wed, 07 Dec 2022 21:07:58 -0800 (PST) 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:message-id:reply-to; bh=eMGf7OGh1iCf1a5HMPRLFY0twEMBiquor3QLkztHEQs=; b=Bq8FX/c1cPi/+BvkqeOiE0httCC7WcHsasT34R8yWBgzzjhsURlFaf3GRllxBmHCHG z2jHSfphe5vjltybuEml+dZhCgTsmEb1l8IqE36CEClXdBNvhbYERgN9zCqjW3e5NpEb ZckZQuLdtHQfbeb3EeVbgiJoABLVI1l6alK+RfHuY+3l1dq0EZWdQ559OvM8M0PxZJ0y 7wU9dj3RC9kdnTos/2VYgXgdoxglrodcaW/ROEX6O7V1VWH8wFOrDH8yAp9zvpP24ZeL huvjTr5DkxRgVhtN237LhxgS4GV3IsbL9Ge4IFNEeDjZq2/m8f0GNvaKYdUwBKHOD1O4 Yhog== 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 :message-id:reply-to; bh=eMGf7OGh1iCf1a5HMPRLFY0twEMBiquor3QLkztHEQs=; b=6fSWtnS/7zXV71Vy2+9dKij812/iZtXo0iJBEUPE5EDdJOzE/P5cjcAuVw9Ag90i7P DX5MyylTjjRUVqGce4zT8Oj1FT5NwOqa+aUp/LcPzamrFdMAbSQV4GD5cAjwswRYOB/k JHj7uywNPfpyBGAL/x64EOjOSA4DmnrzRujaIK5HO8lDaaBmLlG7/f/0Pdwb4qdyBry4 sZk6TEu5qnZpkHS/Ad655qrqmZCyNtH9vVLPqu0yyAFBt5wzlMuWugJIg8yg2VrjDYyS XeceM6ph/bmT4BcAK19t0cYwSreDIb4IyUVEGy9EdYrdauKscPC6AmN+etqiQjCKgpIH COeA== X-Gm-Message-State: ANoB5pkurcy6l6nwGgwwIdjFntOd6fYl4rWjCBw9Ec6gd/JZS2zeAktZ 3q46p1IwZmLHgITyyVcwlb8= X-Google-Smtp-Source: AA0mqf5wL+mr9E1+lB7QfVEWpjH/cu3yEHSWqz3W+Cmq4T5cpDyHTK68REoPh0fCyyJGrVmTDsq/FA== X-Received: by 2002:a17:902:7c08:b0:189:af2b:ebb1 with SMTP id x8-20020a1709027c0800b00189af2bebb1mr35793179pll.35.1670476076952; Wed, 07 Dec 2022 21:07:56 -0800 (PST) Received: from nathanxps13 ([50.47.162.83]) by smtp.gmail.com with ESMTPSA id a1-20020a1709027e4100b00189f143da27sm3105028pln.288.2022.12.07.21.07.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Dec 2022 21:07:56 -0800 (PST) Date: Wed, 7 Dec 2022 21:07:54 -0800 From: Nathan Bossart To: Isaac Morland Cc: Tom Lane , Justin Pryzby , Pavel Luzanov , pgsql-hackers@postgresql.org Subject: Re: add \dpS to psql Message-ID: <20221208050754.GA221222@nathanxps13> References: <20221206193606.GB3078082@nathanxps13> <661148f4-c7f1-dec1-2bc8-29f3bd58e242@postgrespro.ru> <20221208023929.GB27893@telsasoft.com> <20221208041900.GB216874@nathanxps13> <39743.1670473532@sss.pgh.pa.us> 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 Wed, Dec 07, 2022 at 11:48:20PM -0500, Isaac Morland wrote: > For what it's worth, I wouldn't bother changing the format of the > permission bits to expand the pool of available bits. 7b37823 expanded AclMode to 64 bits, so we now have room for 16 additional privileges (after the addition of VACUUM and ANALYZE in b5d6382). > My previous analysis > shows that there is no vast hidden demand for new privilege bits. If we > implement MAINTAIN to control access to VACUUM, ANALYZE, REFRESH, CLUSTER, > and REINDEX, we will cover everything that I can find that has seriously > discussed on this list, and still leave 3 unused bits for future expansion. If we added CLUSTER, REFRESH MATERIALIZED VIEW, and REINDEX as individual privilege bits, we'd still have 13 remaining for future use. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com