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 1j2Jjj-0002nW-TB for pgsql-docs@arkaria.postgresql.org; Thu, 13 Feb 2020 19:01:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1j2Jjf-0005hE-7b for pgsql-docs@arkaria.postgresql.org; Thu, 13 Feb 2020 19:01:15 +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 1j2IEp-0000tP-0B for pgsql-docs@lists.postgresql.org; Thu, 13 Feb 2020 17:25:19 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1j2IEm-0005C1-LJ for pgsql-docs@lists.postgresql.org; Thu, 13 Feb 2020 17:25:17 +0000 Received: by mail-wm1-x342.google.com with SMTP id a9so7670777wmj.3 for ; Thu, 13 Feb 2020 09:25:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Z1t24RBWOIK0UEU0/zGbmCwq7EwTE38uFJSrRav/w1I=; b=FiFgpRaXHX/7e5VPCyzY8r/NvVMQNsFrg/DrcyYbutFRclOhMpqeZ2eZunnWfnKwG2 jzAxz3akwnMtpHL9sAmsL1isaUlxTEcfC4mH//0Y0TMlItFrahvZsjeaU2DMzUDt2Mnt YEOwU7jeiDE+nJTcQKrcqiUN39fVdxH6rSIdecWZc7i1nu/dEIm1vio5OgSupA3SR3J9 Y8rZ+8LMQ4zeQE52qzXF2iF6he+sYXG1zENa0d5Xo8fNkry4+7o0yPjjzVlo/r+t8fVz lqcQ09VwLxVpJHzv78hzUS6xpLJ1ZwLNPbWfT7XOFs/rKX6N9PSQ6mETef/nMa6JXj2C mSkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Z1t24RBWOIK0UEU0/zGbmCwq7EwTE38uFJSrRav/w1I=; b=d4z96fyMne06MxCMXRZSbgEx3P0PAJnU7v+yjvfPfXjv2hRutWH+S6oW9giO/WV1K9 tdK7IppF1PwWc9Vg0fp1B3hZdfdYZ1rXnCxas+Y7DFV5dA0Og5wGH2J7EhG+dOG1mfPT Dpofe7wp9yeFa2/csUxLiDJ95CqIT7bA/UT+E6BvO5Wp1F/rP04BT/ggxOjIuSiibKxU 6c5LE+8o3EU1KBGnsByX4uS2F4nNpN/j19BCa/TFLnZT/VZj0dOSbTmEY0SUYM6tJWHm 1vQNcE1GSzRbQyCQyd8WqgqV/2Vp5s5ul0QQ+xOJAYWViysqPtpl5gFw/ZvPlGxTlj1w eGfQ== X-Gm-Message-State: APjAAAW9ov/PEKQwaAiYrx4KamHlxTDuO47Z97pjsuu8OXdvCxj6qZ3v ag9WGfJQWW7aXvVuGqTjsF0xNQYm X-Google-Smtp-Source: APXvYqxdGiZi8rX1qgDaIUTL9YcK+ht2HRQ3XV5aohJEYSEStvE5tfkpmpGZHUN+eiFmuRj87bq9YA== X-Received: by 2002:a7b:c216:: with SMTP id x22mr7090120wmi.51.1581614714982; Thu, 13 Feb 2020 09:25:14 -0800 (PST) Received: from ?IPv6:2001:a62:47d:b301:258c:9d3c:9582:7b41? ([2001:a62:47d:b301:258c:9d3c:9582:7b41]) by smtp.googlemail.com with ESMTPSA id l2sm3649139wme.1.2020.02.13.09.25.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 13 Feb 2020 09:25:14 -0800 (PST) Subject: Re: LOGIN/NOLOGIN in psql To: "David G. Johnston" , pgsql-docs@lists.postgresql.org References: <158154275696.23793.12449689024039364027@wrigleys.postgresql.org> From: Andreas Heiduk Message-ID: <765646aa-9a1a-8052-d219-3fc3c63f521e@gmail.com> Date: Thu, 13 Feb 2020 18:25:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 13.02.20 um 15:55 schrieb David G. Johnston: > On Thu, Feb 13, 2020 at 2:53 AM PG Doc comments form > > wrote: > > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/11/sql-createrole.html > Description: > > Please add something like this to the LOGIN/NOLOGIN part: > > The `psql` commands `\du` and `\dg` show `Cannot login` for roles with > `NOLOGIN` and nothing for roles with `LOGIN`. For other attributes > `psql` > show their positive forms. > > > I suspect it is intentional that none (I think...) of the material in > the SQL Commands section mentions psql.  I can see changing the psql > page to note the absence of a positive form presentation for this > particular attribute under the descriptions of the \du and \dg > meta-commands. > > David J. Tinkering a bit more: The `INHERIT` attribute is also not shown - only the negative form. Therefore: I assume now, that `psql` only show these attributes, which are not in the default state as explained in the `CREATE ROLE` page. Explaining that an showing the possibly shown values in the mentioned sections of `psql` would be a good idea. Andreas H.