Add mention about hostssl/hostnossl to pool_hba.conf sample file.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 22 May 2020 01:58:48 +0000 (10:58 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 22 May 2020 02:01:44 +0000 (11:01 +0900)
Although hostssl/hostnossl are supported, pool_hba.conf comment did
not mention about it.

src/sample/pool_hba.conf.sample

index 6e37e27360c636b93eb3a7bbcbebb31f01902be2..c616e1fef04358fff5202e411ac47cf079c1bac2 100644 (file)
 # can access.  Records take one of these forms:
 #
 # local      DATABASE  USER  METHOD  [OPTION]
-# host       DATABASE  USER  CIDR-ADDRESS  METHOD  [OPTION]
+# host       DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
+# hostssl    DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
+# hostnossl  DATABASE  USER  ADDRESS  METHOD  [OPTIONS]
 #
 # (The uppercase items must be replaced by actual values.)
 #
 # The first field is the connection type: "local" is a Unix-domain
 # socket, "host" is either a plain or SSL-encrypted TCP/IP socket.
+# "hostssl" is an SSL-encrypted TCP/IP socket, and "hostnossl" is a
+# plain TCP/IP socket.
 #
 # DATABASE can be "all", "sameuser", a database name, or a comma-separated
 # list thereof. Note that "samegroup" like in PostgreSQL's pg_hba.conf