summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-11-17 23:25:17 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-11-17 23:25:17 +0000
commitfa3d622cb0ed7d101ea041733614661e7a4aa1ec (patch)
treed67810714be5d7faea0f32530e5077b6fdf47522
parent4f335a3d7fda4b4a0efd4568ac61d036098d951a (diff)
Clarify description of CIDR-address column of pg_hba.conf, to discourage
people from trying notations like '10.6/16', which is accepted but does not mean what you probably think. Per example from Paul Forgey.
-rw-r--r--doc/src/sgml/client-auth.sgml9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml
index a77d89db0e5..f418332a395 100644
--- a/doc/src/sgml/client-auth.sgml
+++ b/doc/src/sgml/client-auth.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.94 2006/10/23 18:10:30 petere Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/client-auth.sgml,v 1.95 2006/11/17 23:25:17 tgl Exp $ -->
<chapter id="client-authentication">
<title>Client Authentication</title>
@@ -226,11 +226,12 @@ hostnossl <replaceable>database</replaceable> <replaceable>user</replaceable>
</para>
<para>
- A typical <replaceable>CIDR-address</replaceable> is
+ Typical examples of a <replaceable>CIDR-address</replaceable> are
<literal>172.20.143.89/32</literal> for a single host, or
- <literal>172.20.143.0/24</literal> for a network.
+ <literal>172.20.143.0/24</literal> for a small network, or
+ <literal>10.6.0.0/16</literal> for a larger one.
To specify a single host, use a CIDR mask of 32 for IPv4 or
- 128 for IPv6.
+ 128 for IPv6. In a network address, do not omit trailing zeroes.
</para>
<para>