From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: pg_hba.conf.sample wording improvement
Date: Wed, 28 Apr 2021 10:20:14 -0400
Message-ID: <2796699.1619619614@sss.pgh.pa.us> (raw)
In-Reply-To: <fc06dcc5-513f-e944-cd07-ba51dd7c6916@enterprisedb.com>
References: <fc06dcc5-513f-e944-cd07-ba51dd7c6916@enterprisedb.com>
Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
> I propose the attached patch to shake up the wording in the connection
> type section of pg_hba.conf.sample a bit. After the hostgssenc part was
> added on, the whole thing became a bit wordy, and it's also a bit
> inaccurate for example in that the current wording for "host" appears to
> say that it does not apply to GSS-encrypted connections.
+1 for revising it in this general way. I notice you omitted "TCP/IP"
from the last line though:
+# - "hostnogssenc" is a not GSSAPI-encrypted socket
which doesn't seem consistent.
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.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, peter.eisentraut@enterprisedb.com
Subject: Re: pg_hba.conf.sample wording improvement
In-Reply-To: <2796699.1619619614@sss.pgh.pa.us>
References: <fc06dcc5-513f-e944-cd07-ba51dd7c6916@enterprisedb.com> <2796699.1619619614@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox