diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-01-26 16:18:12 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-01-26 16:18:12 +0000 |
commit | 6c0f94fc0daa9ff1aa5636aea25afb4d5c6d767e (patch) | |
tree | a9e894ba8a34e22fab92ba7787c53d3730c2a044 | |
parent | d36aa67152711f9c62a9aedf62ab70a0d9d68c15 (diff) | |
download | postgresql-6c0f94fc0daa9ff1aa5636aea25afb4d5c6d767e.tar.gz postgresql-6c0f94fc0daa9ff1aa5636aea25afb4d5c6d767e.zip |
Un-break initdb logic for commenting out IPv6 pg_hba.conf line.
-rw-r--r-- | src/bin/initdb/initdb.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index 443f7849367..06df8f6af8d 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -42,7 +42,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * Portions taken from FreeBSD. * - * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.183 2010/01/26 06:58:39 petere Exp $ + * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.184 2010/01/26 16:18:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1215,14 +1215,14 @@ setup_config(void) if (err != 0 || getaddrinfo("::1", NULL, &hints, &gai_result) != 0) conflines = replace_token(conflines, - "host all all ::1", - "#host all all ::1"); + "host all all ::1", + "#host all all ::1"); } #else /* !HAVE_IPV6 */ /* If we didn't compile IPV6 support at all, always comment it out */ conflines = replace_token(conflines, - "host all all ::1", - "#host all all ::1"); + "host all all ::1", + "#host all all ::1"); #endif /* HAVE_IPV6 */ /* Replace default authentication methods */ |