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 1p0PG9-0002qT-Dk for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Nov 2022 15:44:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p0PG8-0006aW-AZ for pgsql-hackers@arkaria.postgresql.org; Wed, 30 Nov 2022 15:44:28 +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 1p0PG8-0006aN-1o for pgsql-hackers@lists.postgresql.org; Wed, 30 Nov 2022 15:44:28 +0000 Received: from mail-lf1-x131.google.com ([2a00:1450:4864:20::131]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p0PG5-00015p-C5 for pgsql-hackers@postgresql.org; Wed, 30 Nov 2022 15:44:27 +0000 Received: by mail-lf1-x131.google.com with SMTP id be13so27593874lfb.4 for ; Wed, 30 Nov 2022 07:44:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=rudPX+5NkGT7KPRT9TTcPGQEsNImmQEdVReTKlIML3I=; b=oBWYCXXP4s7s82USWG+K78nWdHH85OtO5y7fKTc7o2DqqLV0DHOtBgyS+LcQFnDPzf QSl8aCF0++CzVYmYR9iRXpfmbRxW9C7l9Ntfjz1TDJLLZ1C/+UTdX8707YMQS1/0ZhQH V0iIe1eRhWo5GxFm/gmhnAOXpsGGXdZYWNPdAGrac06ZcBJJ7hrxdknvtwQYmJNq/xMX U+N1Z/L8ITf+eT0xVRPYQssJBy6jKFJRUX7tcxmD67JlV8T7WyMzk/DPsRvO1e/ycWvD bnSlR8Iqnz9IsfRTk/8v83dcIUiP4Jl1+sIUKwl6lnTRQAUItBKhaZa8xyUcRgJg1WFx bhbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=rudPX+5NkGT7KPRT9TTcPGQEsNImmQEdVReTKlIML3I=; b=7aJ6ctrIy9FLImXvAnMjju/rZ8RQqtrtNuh9TI0aSDRIkvhR2OcidwaX8njfRPB7Uk dUdQ8E42DB4DmgPMMIkmMq4TmIH2XZR0RBqXIEkdWrWrNqK47uzqZIToNmVqQqAvaIRU J6f/U4zhTaFRFYECzl/o3BN5xw3oNP6Aiu80EmNv1sDpv6itVntaTm4Ajgi/GIaqYqNL LQqszc/n1qvrdDeXJ14fJpjP+NUCPGT2gNs7F5siNEe8MC5zPNTA669atZod0ORbghSv Jriq2GWhR21/zx0oJ5J3PeTtnn3pf1o8Ou5HeS0kJRgA+XYjUS9gGzPb0rHMyZYgoY+X 5+QA== X-Gm-Message-State: ANoB5pl48gWkV7vGdpq9DHU/oU0kgMtLxT48sPltv5quxmVnjOMA1il3 M7pEIarQ3gcvVHKaYO8uDGV8xjarCQVumdQ1aov3Vtot X-Google-Smtp-Source: AA0mqf7GOdrd/TxzzRGnQPxV8TStIyXXsSgjISLOWkceeo9sSjK0Us4BL/oZEi+acMF/nwmZEGjGlKq95st4xEpPMIE= X-Received: by 2002:ac2:5e61:0:b0:4a2:48c1:455f with SMTP id a1-20020ac25e61000000b004a248c1455fmr14072284lfr.96.1669823063867; Wed, 30 Nov 2022 07:44:23 -0800 (PST) MIME-Version: 1.0 References: <20221130070701.GA275942@rfd.leadboat.com> <20221130150136.GA287291@rfd.leadboat.com> In-Reply-To: <20221130150136.GA287291@rfd.leadboat.com> From: Robert Haas Date: Wed, 30 Nov 2022 10:44:12 -0500 Message-ID: Subject: Re: pgsql: Revoke PUBLIC CREATE from public schema, now owned by pg_databas To: Noah Misch Cc: "pgsql-hackers@postgresql.org" Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Nov 30, 2022 at 10:01 AM Noah Misch wrote: > On Wed, Nov 30, 2022 at 08:39:23AM -0500, Robert Haas wrote: > > On Wed, Nov 30, 2022 at 2:07 AM Noah Misch wrote: > > > In general, the documentation should prefer simpler decision trees. > > > > True, but I found the current text confusing, which is also something > > to consider. > > Could remove the paragraph about v14. Could have that paragraph say > explicitly that the REVOKE is a no-op. Would either of those be an > improvement? Well, I thought what I proposed was a nice improvement, but I guess if you don't like it I'm not inclined to spend a lot of time discussing other possibilities. If we get some opinions from more people that may make it clearer which direction to go; if I'm the only one that doesn't like the way it is now, it's probably not that important. -- Robert Haas EDB: http://www.enterprisedb.com