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 1o7RpL-0005Wr-Pb for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Jul 2022 01:21:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o7RpJ-0006yV-Hs for pgsql-hackers@arkaria.postgresql.org; Sat, 02 Jul 2022 01:21:37 +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 1o7RpJ-0006yM-0u for pgsql-hackers@lists.postgresql.org; Sat, 02 Jul 2022 01:21:37 +0000 Received: from mail-qk1-x72c.google.com ([2607:f8b0:4864:20::72c]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o7RpG-0004Cy-3G for pgsql-hackers@postgresql.org; Sat, 02 Jul 2022 01:21:36 +0000 Received: by mail-qk1-x72c.google.com with SMTP id v6so3053953qkh.2 for ; Fri, 01 Jul 2022 18:21:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=krnHWuigZT90OzcxPMSWrL1Ny1kqnFLnIwZKoPfGXZM=; b=TMxtcyI59mEqLWASt4bI2P7izo2p96jUibAcB7zmy9WQ+mxpDkxPKat3KjuoCuNqad 2g3ST+e0A33CttAJeb3pXiPd9WU3Mst1wREHZQ8e9O87NDvjagkj18liN0S+aT3oSDP6 sAohFegjVy9XlmkC0ZbP2wT5YD4aVD8wbGih8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=krnHWuigZT90OzcxPMSWrL1Ny1kqnFLnIwZKoPfGXZM=; b=5OvpRXv5sL1Pzhn58CrtzLFreS5d8EX6UVQCDGiK9ehNo6rPDTkdF0Rj2xX8KtuYb5 Zaq9msgBl1C0HRJvtB7pVkTijd6O6SWILI5XpAe8v6TGGmvIqKdeOMcd/nV/2ZOLWb+L rlqyJHgVWIusvzigCgNgj9MPCyXv2n1vPYUrqim49WUwCWABgh+srrbOquMOcUpidW7U OfTN4b+ppDzRSdlSLYVimKX4EXqEnRo8bbHqNNOZfdQZRnZdKK7T+k3O5r1rFrJyk21a 2589Cddf1iNq3SI1Iu/sVEgt7IdEj7UeUd4bikmpnG8rgQeIruuo9iLjtiUZL1fIU6Al Hrdw== X-Gm-Message-State: AJIora/QiosVFUxW3k5/bnNXbtMqLEQauY3XU95vPDhLBpyGBXMc5qZ0 faCtOADjN5n6h2JHzXY1JvECJA== X-Google-Smtp-Source: AGRyM1ubfrAwy3MGzogFEmbR0TgKVMaKBR6OBBqTAzrVuF5qPxG5AjDGi4we/w3E7GKxsvOzLh41DQ== X-Received: by 2002:a05:620a:248b:b0:6af:504d:c1e0 with SMTP id i11-20020a05620a248b00b006af504dc1e0mr12925054qkn.750.1656724891955; Fri, 01 Jul 2022 18:21:31 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::2e]) by smtp.gmail.com with ESMTPSA id k11-20020a05620a0b8b00b006b25570d1c2sm2635522qkh.12.2022.07.01.18.21.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 01 Jul 2022 18:21:31 -0700 (PDT) Date: Fri, 1 Jul 2022 18:21:28 -0700 From: Noah Misch To: Bruce Momjian Cc: PostgreSQL-development Subject: Re: First draft of the PG 15 release notes Message-ID: <20220702012128.GA2301877@rfd.leadboat.com> References: <20220628063719.GA2208244@rfd.leadboat.com> <20220630050808.GC2257984@rfd.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jul 01, 2022 at 02:08:00PM -0400, Bruce Momjian wrote: > On Wed, Jun 29, 2022 at 10:08:08PM -0700, Noah Misch wrote: > > On Tue, Jun 28, 2022 at 04:35:45PM -0400, Bruce Momjian wrote: > > > > > permissions on the public schema has not > > > > > been changed. Databases restored from previous Postgres releases > > > > > will be restored with their current permissions. Users wishing > > > > > to have the old permissions on new objects will need to grant > > > > > > > > The phrase "old permissions on new objects" doesn't sound right to me, but I'm > > > > not sure why. I think you're aiming for the fact that this is just a default; > > > > one can still change the ACL to anything, including to the old default. If > > > > these notes are going to mention the old default like they do so far, I think > > > > they should also urge readers to understand > > > > https://www.postgresql.org/docs/devel/ddl-schemas.html#DDL-SCHEMAS-PATTERNS > > > > before returning to the old default. What do you think? > > > > > > Agreed, the new text is: > > > > > > Users wishing to have the former permissions will need to grant > > > CREATE permission for PUBLIC on > > > the public schema; this change can be made on > > > template1 to cause all new databases to have these > > > permissions. > > > > What do you think about the "should also urge readers ..." part of my message? > > I see your point, that there is no indication of why you might not want > to restore the old permissions. I created the attached patch which > makes two additions to clarify this. > --- a/doc/src/sgml/release-15.sgml > +++ b/doc/src/sgml/release-15.sgml > @@ -63,12 +63,11 @@ Author: Noah Misch > permissions on the public schema has not > been changed. Databases restored from previous Postgres releases > will be restored with their current permissions. Users wishing > - to have the former more-open permissions will need to grant > + to have the former permissions will need to grant > CREATE permission for PUBLIC > on the public schema; this change can be made > on template1 to cause all new databases > - to have these permissions. This change was made to increase > - security. > + to have these permissions. > > Here's what I've been trying to ask: what do you think of linking to https://www.postgresql.org/docs/devel/ddl-schemas.html#DDL-SCHEMAS-PATTERNS here? The release note text is still vague, and the docs have extensive coverage of the topic. The notes can just link to that extensive coverage.