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 1itNgS-0003pJ-SN for pgsql-docs@arkaria.postgresql.org; Mon, 20 Jan 2020 03:25:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1itNfR-0007eR-Oc for pgsql-docs@arkaria.postgresql.org; Mon, 20 Jan 2020 03:23:57 +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 1itNfR-0007eK-7j for pgsql-docs@lists.postgresql.org; Mon, 20 Jan 2020 03:23:57 +0000 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1itNfN-00047R-SD for pgsql-docs@lists.postgresql.org; Mon, 20 Jan 2020 03:23:56 +0000 Received: by mail-pf1-x441.google.com with SMTP id 62so8452167pfu.11 for ; Sun, 19 Jan 2020 19:23:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=7mdgZMlGTwnxoNmZ603Y4ZUSAva3W0g4PYWWyTnVqw4=; b=UsvjcK9chmwgN1wrK3IqrG9yFUG7kliPJJsa+8Qs55hxN8tQxuXnv0v9RQBDfBspDc CXbbIn06d1y/hyKC3v11fbvsXFu5T1qfwfIIrBsU+wBu1TVtQPw4WjEwdpnYqhDplzDd /xUrB5p8wW0tvGM6bA0yP8urqzk0ulsvxT3p/y+IJ5a3NJPgDRjpC9CmwTEEKZui5lyH 3AfZ7g0b8k2BoR39ezGLLYe5aAuwRPlOk11ht3W2RWJhLIR2u2zhrfwCHwCGjl43hbe/ TbVI1zKUDMp2eAgpE6xTnXsWBXyvgkkDpoo5o8XkX5aL6GljrWNwbTghjdyOKtXXiU0c XBGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=7mdgZMlGTwnxoNmZ603Y4ZUSAva3W0g4PYWWyTnVqw4=; b=JeTUZNXwQwMzaB7F3A7mBWE51NJIh8x4UYxZx4NJQUu5O16nNOCv39XnzaAx02ZoUJ nidk9FLvEUtTr+00Ek0TNwhRQWWdzNW37GFGN5nxFBoKdGXPqkzoCV4+ugomz5JIPuMT 2mXX+OBdpGhDZcVxGnrKEDKZMmnL54t3E7JJkPj1iCOnBfr9n5RKAuj7qYnqRyRjOIq4 8ZmBmaRNi8m0880GL4I49NRQuqjAUHB+RgisMFEVmxyu/LgebzOgyRkdKkLugKmi7+SY FhBSyRey+3JCKDFvu+Y25kXvsGFKBfR0/YpaCw0uOsn3YOFplZl31keI3TLkWvY/tGFH m1+g== X-Gm-Message-State: APjAAAUUOKKbL6/QuD/2U689owBfR+MwR8rxV89OAFUdrqEo04jqr+LU i17g5XYtK7CPDLLVj2WNnMmnfHqI5vd3bvulOTxMJ52fFf6M7JNIgZFGIoL8jGSAzRMnO0gKAbW RXjBOy5jKv5pajoCHkvFzs4kEuTqV30hY4+bwOMxQa0eTwzK6XuRLlVwkm/m7f3ZKha1EmTcC+A zxHEaMZECH25JVBaDuiBE= X-Google-Smtp-Source: APXvYqycAfv9ilDUldi/Rgo1dEakgir5e+z1ChLmAhizp9j+tWSvmQw+bNdRKVT2UzWjETBSCGn8VQ== X-Received: by 2002:a62:e80a:: with SMTP id c10mr9048514pfi.91.1579490632173; Sun, 19 Jan 2020 19:23:52 -0800 (PST) Received: from osaka.octopusnet (p7890132-ipngn37101marunouchi.tokyo.ocn.ne.jp. [114.149.169.132]) by smtp.gmail.com with ESMTPSA id t187sm37175746pfd.21.2020.01.19.19.23.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 19 Jan 2020 19:23:51 -0800 (PST) Subject: Re: Documentation: 21.5. Default Roles To: R Ransbottom , Stephen Frost Cc: Bruce Momjian , Laurenz Albe , pgsql-docs@lists.postgresql.org 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> From: Ian Barwick Message-ID: <957c35e3-8023-ebe6-3b51-3a620b66ae82@2ndquadrant.com> Date: Mon, 20 Jan 2020 12:23:48 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0 MIME-Version: 1.0 In-Reply-To: <20200119035648.3k4d3erobborxwv3@rat.local> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020/01/19 12:56, R Ransbottom wrote: > Hi, > > On Tue, Jan 14, 2020 at 02:45:02PM -0500, Stephen Frost wrote: >> * Bruce Momjian (bruce@momjian.us) wrote: >>> On Tue, Jan 7, 2020 at 11:46:31AM +0100, Laurenz Albe wrote: >>>> On Fri, 2019-12-27 at 12:16 -0500, Bruce Momjian wrote: >>>>> On Fri, Dec 27, 2019 at 05:44:10AM +0000, PG Doc comments form wrote: >>>>>> The following documentation comment has been logged on the website: >>>>>> >>>>>> Page: https://www.postgresql.org/docs/12/default-roles.html >>>>>> Description: >>>>>> >>>>>> The title is wrong. The roles are not defaults; they are predefined and >>>>>> privileged. The title suggests that a user should expect to be assigned >>>>>> these roles. "21.5 Sub-Administrator Roles" would be accurate--improving >>>>>> clarity over all and removing any need to explain why postgres is not in >>>>>> this list of roles. >>>>>> >>>>> >>>>> Good points. I have developed the attached documentation patch which >>>>> includes your ideas. >>>> >>>> I think that "predefined role" is better than "default role". >>> >>> Thanks, patch applied through 9.6. >> >> Erm, I didn't agree with this and pointed to reasons why it was based, >> for starters, on a misunderstanding and further wasn't a particularly > > I went to the documentation for clarity. I read a section that was not > pertinent to my issue because it is poorly titled. These roles > are not defaults in any sense. > >> good idea anyway. I'm not happy that it was committed, and to have been >> back-patched strikes me as even worse. What about existing links to >> things like: https://www.postgresql.org/docs/9.6/default-roles.html >> which will now be broken, like from here?: >> >> https://paquier.xyz/postgresql-2/postgres-11-new-system-roles/ > > 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. Regards Ian Barwick -- Ian Barwick https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services