From: Tom Lane Date: Fri, 1 Aug 2003 23:40:10 +0000 (+0000) Subject: Comment out entries for IPv6 localhost connections, since they fail X-Git-Tag: REL7_4_BETA1~35 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=17bb563abd576ff33dedfb11ba353297c06066a5;p=postgresql Comment out entries for IPv6 localhost connections, since they fail on machines with no IPv6 support. --- diff --git a/src/backend/libpq/pg_hba.conf.sample b/src/backend/libpq/pg_hba.conf.sample index da2cb5ecb6..e5dba788c6 100644 --- a/src/backend/libpq/pg_hba.conf.sample +++ b/src/backend/libpq/pg_hba.conf.sample @@ -50,8 +50,9 @@ # TYPE DATABASE USER IP-ADDRESS IP-MASK METHOD -local all all trust -host all all 127.0.0.1 255.255.255.255 trust -host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff trust -host all all ::ffff:127.0.0.1/128 trust +local all all trust +host all all 127.0.0.1 255.255.255.255 trust +# uncomment these to support IPv6 localhost connections +# host all all ::1 ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff trust +# host all all ::ffff:127.0.0.1/128 trust