aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-08-01 23:40:10 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-08-01 23:40:10 +0000
commit17bb563abd576ff33dedfb11ba353297c06066a5 (patch)
tree9193aca42b8069ab505144189740f08033b20263
parent5b545644cfe8c5c89bb7e713b3c8160836030f78 (diff)
downloadpostgresql-17bb563abd576ff33dedfb11ba353297c06066a5.tar.gz
postgresql-17bb563abd576ff33dedfb11ba353297c06066a5.zip
Comment out entries for IPv6 localhost connections, since they fail
on machines with no IPv6 support.
-rw-r--r--src/backend/libpq/pg_hba.conf.sample9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backend/libpq/pg_hba.conf.sample b/src/backend/libpq/pg_hba.conf.sample
index da2cb5ecb61..e5dba788c66 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