git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d36aa67)
Un-break initdb logic for commenting out IPv6 pg_hba.conf line.
2010年1月26日 16:18:12 +0000 (16:18 +0000)
2010年1月26日 16:18:12 +0000 (16:18 +0000)

diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 443f7849367aa9a5c16f246ec00dbcee78d5f700..06df8f6af8d4c5248e05f3359e19fd3c0d6dbe87 100644 (file)
--- 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 */
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /