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 1gPjsU-0001bk-7h for pgsql-docs@arkaria.postgresql.org; Thu, 22 Nov 2018 07:58:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gPjsS-0006Nq-VJ for pgsql-docs@arkaria.postgresql.org; Thu, 22 Nov 2018 07:58:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gPjsS-0006M5-OJ for pgsql-docs@lists.postgresql.org; Thu, 22 Nov 2018 07:58:20 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gPjsM-0002E8-IZ for pgsql-docs@lists.postgresql.org; Thu, 22 Nov 2018 07:58:20 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 16D5B221; Thu, 22 Nov 2018 02:58:12 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Thu, 22 Nov 2018 02:58:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=9tTrGawocatQjZ5RmDydoRRQ3A/ uYZ4eqx+/KgoW838=; b=hg1PKavbXtsVIzwjMKl2KbuxUNU7HCcYh2hrd8qIVId +tiRzJobgoedDTnVwUU1ICX5dx28oT3dvN3QdcoJgIrJbW/ZUMvcplWhzFJmdp4i dxPn8sB9dw7AQxxgUQ1Y9ml5O7myLwnOpSMjTGO/Ku8q3nE1KtdMnu4qWkJjFgZM 3d5rnNfX5JSI1nfk8BmfpF/80tlajeN1xRiKhpZhPVz1c6XswPBG0SpoALOIx9ne WicrU1bJmQsGuPpf6jXF/ENAlz2kTBLuAcIL5qd2hV7/Hv7DXkNoe5HbvtBUlWz5 05WSyrSn5q/E0hh9Q96IPATjogQGeDK1btHYgIyJxZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=9tTrGa wocatQjZ5RmDydoRRQ3A/uYZ4eqx+/KgoW838=; b=WzaDm66kTPL+2s76iLhpRe esDGiFlD7h9Al5c9u7bHrdvuY37f19dHvB7T9XK4JgFo8OkM7mVtgDwVMxUrgMl1 4OcTnj3saWNu+jIsxrbnX9eHR8vvwETMa59mrig0xWpUBrxodLW8FXI3fuplxqxQ 5Ih2XlGjhAx1IUeS1gGttt52rxhT5//uu2Rq6esK7TPl+2Hw5BGpgFyktSzAUk93 ZJiD8IcDwI4C9NGIY2/7m+fSn5L6AtQX85sT2Zrimv1L1CUfZUC3g3ovcxEzLtpH ehP5EN/WRmTGbazAiru1BS9sY9Xw0uCSvWZ9k+w5B0IBsOX8vcVk3Jggc57/kh2Q == X-ME-Sender: X-ME-Proxy: Received: from paquier.xyz (mp76f1f85c.ap.nuro.jp [118.241.248.92]) by mail.messagingengine.com (Postfix) with ESMTPA id BBE88102DD; Thu, 22 Nov 2018 02:58:09 -0500 (EST) Date: Thu, 22 Nov 2018 16:58:06 +0900 From: Michael Paquier To: "David G. Johnston" Cc: "steven.winfield@cantabcapital.com" , "pgsql-docs@lists.postgresql.org" Subject: Re: CREATE/ALTER ROLE with NULL password Message-ID: <20181122075806.GK3369@paquier.xyz> References: <154282901979.1316.7418475422120496802@wrigleys.postgresql.org> <20181122020759.GE3369@paquier.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="FnOKg9Ah4tDwTfQS" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --FnOKg9Ah4tDwTfQS Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 21, 2018 at 11:58:25PM -0700, David G. Johnston wrote: > Should tweak the paragraph to point out this exception as well. >=20 > The ENCRYPTED keyword has no effect, but is accepted for backwards > compatibility[, except in the PASSWORD NULL form.] The docs list the following with the patch as supported grammar: [ ENCRYPTED ] PASSWORD 'password' | PASSWORD NULL And it seems to me that '|' has priority over '[]', so ENCRYPTED does not apply to PASSWORD NULL if phrased this way. -- Michael --FnOKg9Ah4tDwTfQS Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlv2YY4ACgkQnvQgOdby QH0aQg//V/lDuJehtwQZgIPKoPeeUvFHthcAuUMrSdN5IIniW7eGd6K2YHzOtMaH X1gTfKvArjQdeXmK3LtFIkOwTwOb/ttOgyVCIYRMYeoV7kvOb/5czOFWVCrYY0/+ vXuSvPtwzjtVwg9Ihu57354vOg4JMzmco3zXY7jE47hLloyDGJd8vXqhfNXKqIFW ud9b18uk1Vm4+r/WNlC8MEXlf0u4kX+AKe2suVvtyVSJC5ZerlVTrP3Q9b3mby8Q rSUOtPV0a5OlSOcCW9zHmJFUrVC0zxihxOyp9MtskceqLiGB51UVY0h6CigJB4yn 8m6OCajI0ksqJryFxk9ByZTGVbiO7/TJCtrZEx7DCfKQrnEGxB3tZWFsjRB8FkkW v3B0hZfegokqc/vSft92I92ZRlStJqhMLJbhcc5Nxd30tVW0e/RzRUkjDo+EMnz0 D/qGbsbwFAMB7DtG3nQDm6AvS0csVgvqx5uMZfSIyuyqjxyt1M8RuI9i3N4ktZnQ V0og7tcT3gY7T+9XlwrZxlr6KHfmUwd0IlhuG1KqqIGGrsVxfpG7sBjjrW6YN/I/ zWidscr0VeNEGb7VEtvbCpB/+wJkqmTH3AQJvOvg9PuQ0ivLBJL9H65Jw/iHKyAm DlnO51WEbiPPGE5Om4fRTKpN70O1G/XrEKBtQ4Gk9I4k4cmTLuQ= =yMa4 -----END PGP SIGNATURE----- --FnOKg9Ah4tDwTfQS--