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 1lbyse-0001V7-9j for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Apr 2021 05:06:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lbysd-0004vG-8q for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Apr 2021 05:06:27 +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 1lbysc-0004v8-JU for pgsql-hackers@lists.postgresql.org; Thu, 29 Apr 2021 05:06:27 +0000 Received: from [64.147.123.35] (helo=wforward5-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbysX-0003or-Oz for pgsql-hackers@postgresql.org; Thu, 29 Apr 2021 05:06:26 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailforward.west.internal (Postfix) with ESMTP id D75021295; Thu, 29 Apr 2021 01:06:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 29 Apr 2021 01:06:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding: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=fm2; bh=EPE6lNzj9jb4yuhSdus+QrM8PzVeo+zjE5wizL/VC g0=; b=IQbaEIVZuaUfstdUhOF+dX/IFhggnebOPbgXjsWUOFEW5B6DwtlJ3XOoU ov/L0S6Rb3N+1jU7dK26Q2F59zd6CwbM1M96eaSrRBQQNiAPuDt216TCKk56ZJvq irVV/xv6Xv1YhiPp7S908f/NEGbkWhMjP0EihGG+tuoXUb/hywyXficHjgKXUUhw TYGN8f05/EEF8b2XMA5sDnSxGRDRwHDrvO3J8xh7wuix1R0N9Hk3JstuA0d9vIKl OaPk8ULbgKMCQe0TVm2mHK30j6rLPtWUN0Sumh7GXL8xBYIt2UetPx3t4HRSKzhx hcnC1L45csRkgoFIjFLxG+rzZfRWw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddvfedgledtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtje ertddtfeejnecuhfhrohhmpefrvghtvghrucfgihhsvghnthhrrghuthcuoehpvghtvghr rdgvihhsvghnthhrrghuthesvghnthgvrhhprhhishgvuggsrdgtohhmqeenucggtffrrg htthgvrhhnpeelveehheeuieduieetiedtkeeuteelfeetjeffieffudegvdffvdfftdei vdeukeenucfkphepledurddugedrvddvgedruddvtdenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghuthes vghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Received: from laptop206oxuk.local (p5b0ee078.dip0.t-ipconnect.de [91.14.224.120]) by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Apr 2021 01:06:07 -0400 (EDT) Subject: Re: pg_hba.conf.sample wording improvement To: Tom Lane Cc: pgsql-hackers References: <2796699.1619619614@sss.pgh.pa.us> From: Peter Eisentraut Message-ID: <843286b8-69cf-87eb-b5d2-deb30b7e856f@enterprisedb.com> Date: Thu, 29 Apr 2021 07:06:05 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <2796699.1619619614@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.35 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 28.04.21 16:20, Tom Lane wrote: > Another thought is to switch the phrase order: > > +# - "local" is a Unix-domain socket > +# - "host" is a TCP/IP socket (encrypted or not) > +# - "hostssl" is a TCP/IP socket that is SSL-encrypted > +# - "hostnossl" is a TCP/IP socket that is not SSL-encrypted > +# - "hostgssenc" is a TCP/IP socket that is GSSAPI-encrypted > +# - "hostnogssenc" is a TCP/IP socket that is not GSSAPI-encrypted > > I'm not wedded to that idea, but it seems to help reduce random > variations between the wordings of these lines. done that way