Skip to content

Commit 3a948ea

Browse files
committed
pg_hba.conf.sample: Reword connection type section
Improve 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. Discussion: https://www.postgresql.org/message-id/flat/fc06dcc5-513f-e944-cd07-ba51dd7c6916%40enterprisedb.com
1 parent 2977f24 commit 3a948ea

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

src/backend/libpq/pg_hba.conf.sample

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
#
1919
# (The uppercase items must be replaced by actual values.)
2020
#
21-
# The first field is the connection type: "local" is a Unix-domain
22-
# socket, "host" is either a plain or SSL-encrypted TCP/IP socket,
23-
# "hostssl" is an SSL-encrypted TCP/IP socket, and "hostnossl" is a
24-
# non-SSL TCP/IP socket. Similarly, "hostgssenc" uses a
25-
# GSSAPI-encrypted TCP/IP socket, while "hostnogssenc" uses a
26-
# non-GSSAPI socket.
21+
# The first field is the connection type:
22+
# - "local" is a Unix-domain socket
23+
# - "host" is a TCP/IP socket (encrypted or not)
24+
# - "hostssl" is a TCP/IP socket that is SSL-encrypted
25+
# - "hostnossl" is a TCP/IP socket that is not SSL-encrypted
26+
# - "hostgssenc" is a TCP/IP socket that is GSSAPI-encrypted
27+
# - "hostnogssenc" is a TCP/IP socket that is not GSSAPI-encrypted
2728
#
2829
# DATABASE can be "all", "sameuser", "samerole", "replication", a
2930
# database name, or a comma-separated list thereof. The "all"

0 commit comments

Comments
 (0)