]> granicus.if.org Git - postgresql/commitdiff
Comment out entries for IPv6 localhost connections, since they fail
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Aug 2003 23:40:10 +0000 (23:40 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 1 Aug 2003 23:40:10 +0000 (23:40 +0000)
on machines with no IPv6 support.

src/backend/libpq/pg_hba.conf.sample

index da2cb5ecb61073987b1370ddde59e261cbe33895..e5dba788c66733212a3d17f12d94a2a16bcc633f 100644 (file)
@@ -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