Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1itc3K-00011n-NN for pgsql-docs@arkaria.postgresql.org; Mon, 20 Jan 2020 18:45:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1itc3J-0004it-JZ for pgsql-docs@arkaria.postgresql.org; Mon, 20 Jan 2020 18:45:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1itc3J-0004iL-8Z for pgsql-docs@lists.postgresql.org; Mon, 20 Jan 2020 18:45:33 +0000 Received: from mail-oi1-x243.google.com ([2607:f8b0:4864:20::243]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1itc3D-0003gf-Ur for pgsql-docs@lists.postgresql.org; Mon, 20 Jan 2020 18:45:32 +0000 Received: by mail-oi1-x243.google.com with SMTP id c77so252809oib.7 for ; Mon, 20 Jan 2020 10:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=P2805+RzQcfaMFoRVklvPd9hSAit+l6NGcJb0/ZLzGw=; b=HSfZGFBB2cDg3feiDorGxm8Wu2Ifjjtt6unCa4nsnGeslWTRCryKVvvduoILiQIf9m QZMTV7VgwuHNZ0nmRlBiTbDRHnPl0BpVGDg/fByNtf9D2uI/nEkk2Hb6J+lYGorksTAg IrIZJ1mq9m/hBkUz8AT3nTanLzKg0Xe/ESxIn2qcMeCT2PoH4j1HvIdsq8aFwERibBqx QYVJzSgt1IVp2BEhoVY9P2XOlkUui7YC2KonXC6s4xln0abvDlhwsPCPGOnl3UgxMw/T VCGzqsIomxK0bXUejqE8BjXz0oJl81iPao1PeyDIIsm92BRhtcrakxp+QruZrEkKoiPm FQGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=P2805+RzQcfaMFoRVklvPd9hSAit+l6NGcJb0/ZLzGw=; b=IX6BFNrEeSJ+IqsN1I+u+iNpI7+x1Ita+GdGKaUuRlqTM48H+LR+v5h9FAROVujEz9 saz31ika2g+nM5DLGMbCvMVuDi7SsOI1Xu2nMvpJWI1Fnk7gFSWumspMcjNSN5MIODtj 1FJDBgC8QBTd2gpWJ0vsctzQwLCsaA+bSgJBhG3YIdy28ntzcgj32FSKpQy3T/WEd6c1 CjkspkV82vt7rXM6Ux2D0duFGX5nQi4UHNsW5ZLlmlwbMJULoHZxAT5VJ9f8MkBT/9nq Tn/0pQPmWcE8cBMSQKfJw0zOU6rRf3KwxgM7/VYyYOH8C9j0woIO4O7et4hLJvDLtdxl NuXA== X-Gm-Message-State: APjAAAWVqVOkqjGfhn4yuCGdh3rME8bc+njsBiRSDLh1+IbaoZgxOl4c YUV/vpHrqFgaH3vvQjcDfOIIXkRPnF6NQMnf1oSzQzyYBHI= X-Google-Smtp-Source: APXvYqy11a3W1CcevpCGD+yIiaIP4hj5PbfZw6ID1zvIZcH5Pa8/7mUg4N1iemkwFXGJFF5jETzEauT3gxzxFhopfy8= X-Received: by 2002:aca:503:: with SMTP id 3mr191089oif.106.1579545927309; Mon, 20 Jan 2020 10:45:27 -0800 (PST) MIME-Version: 1.0 References: <157742545062.1149.11052653770497832538@wrigleys.postgresql.org> <20191227171654.GA2992@momjian.us> <8c2f4f1b90c993c8c6338b978a78a9ebbcd1c934.camel@cybertec.at> <20200114181331.GB10430@momjian.us> <20200114194502.GX3195@tamriel.snowman.net> <20200119035648.3k4d3erobborxwv3@rat.local> <957c35e3-8023-ebe6-3b51-3a620b66ae82@2ndquadrant.com> <20200120160258.GA28095@momjian.us> In-Reply-To: <20200120160258.GA28095@momjian.us> From: Simon Riggs Date: Mon, 20 Jan 2020 18:45:16 +0000 Message-ID: Subject: Re: Documentation: 21.5. Default Roles To: Bruce Momjian Cc: Ian Barwick , R Ransbottom , Stephen Frost , Laurenz Albe , pgsql-docs@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000e77804059c96b1d9" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000e77804059c96b1d9 Content-Type: text/plain; charset="UTF-8" On Mon, 20 Jan 2020 at 16:03, Bruce Momjian wrote: > On Mon, Jan 20, 2020 at 12:23:48PM +0900, Ian Barwick wrote: > > > I would hope to find correct documentation somewhere--that somewhere > > > should be Postgresql's own documentation. > > > > Indeed, however it's important that the PostgreSQL documentation remains > > stable for released versions. > > > > As-is, the current patch set would result in the term "default role(s)" > > disappearing from the documentation in the next minor release, which is > > bound to cause confusion for anyone searching the documentation for the > > term they're familiar with (unless they happen to be reading this thread > > or following the git commit log). Cue cries of "OMG Postgres removed a > > feature in a minor release!!!?!!". > > > > And as Stephen mentions, it will break a lot of secondary documentation - > > not just blogs but things like internal training materials etc. > > > > If this change is made (which I'm personally not against), then it > should be > > only from PostgreSQL 13. For 9.6 ~ 12, IMHO it would be better to tweak > the > > existing documentation to somehow mention that "default roles" should be > > thought of as "prefined roles", and note they will be called this from > Pg13. > > Usually when I apply "wording" doc patches to head only, someone > complains that it should be backpatched, so I did that in this case. If > we want to change that idea, we need to agree on the criteria. > True, but it's not a wording patch, you're entirely renaming a feature. I agree with the change of default to predefined, but it shouldn't be backpatched. There should be a comment in there that it was previously known as "default roles", with indexed terms for both. -- Simon Riggs http://www.2ndQuadrant.com/ PostgreSQL Solutions for the Enterprise --000000000000e77804059c96b1d9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Mon, 20 Jan 2020 at 16:03, Bruce Momji= an <bruce@momjian.us> wrote:<= br>
On Mon, Jan 20, 2020 a= t 12:23:48PM +0900, Ian Barwick wrote:
> > I would hope to find correct documentation somewhere--that somewh= ere
> > should be Postgresql's own documentation.
>
> Indeed, however it's important that the PostgreSQL documentation r= emains
> stable for released versions.
>
> As-is, the current patch set would result in the term "default ro= le(s)"
> disappearing from the documentation in the next minor release, which i= s
> bound to cause confusion for anyone searching the documentation for th= e
> term they're familiar with (unless they happen to be reading this = thread
> or following the git commit log). Cue cries of "OMG Postgres remo= ved a
> feature in a minor release!!!?!!".
>
> And as Stephen mentions, it will break a lot of secondary documentatio= n -
> not just blogs but things like internal training=C2=A0 materials etc.<= br> >
> If this change is made (which I'm personally not against), then it= should be
> only from PostgreSQL 13. For 9.6 ~ 12, IMHO it would be better to twea= k the
> existing documentation to somehow mention that "default roles&quo= t; should be
> thought of as "prefined roles", and note they will be called= this from Pg13.

Usually when I apply "wording" doc patches to head only, someone<= br> complains that it should be backpatched, so I did that in this case.=C2=A0 = If
we want to change that idea, we need to agree on the criteria.

True, but it's not a wording patch, you're = entirely renaming a feature.

I agree with the chan= ge of default to predefined, but it shouldn't be backpatched.

There should be a comment in there that it was previously k= nown as "default roles", with indexed terms for both.
=

--
Simon Rigg= s=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0=C2=A0http://www.2ndQuadrant.com/<= /a>
PostgreSQL Solutions for the Enterp= rise
--000000000000e77804059c96b1d9--