Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c0f94f

Browse files
committed
Un-break initdb logic for commenting out IPv6 pg_hba.conf line.
1 parentd36aa67 commit6c0f94f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/bin/initdb/initdb.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* Portions Copyright (c) 1994, Regents of the University of California
4343
* Portions taken from FreeBSD.
4444
*
45-
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.183 2010/01/2606:58:39 petere Exp $
45+
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.184 2010/01/2616:18:12 tgl Exp $
4646
*
4747
*-------------------------------------------------------------------------
4848
*/
@@ -1215,14 +1215,14 @@ setup_config(void)
12151215
if (err!=0||
12161216
getaddrinfo("::1",NULL,&hints,&gai_result)!=0)
12171217
conflines=replace_token(conflines,
1218-
"host all all ::1",
1219-
"#host all all ::1");
1218+
"host allall ::1",
1219+
"#host allall ::1");
12201220
}
12211221
#else/* !HAVE_IPV6 */
12221222
/* If we didn't compile IPV6 support at all, always comment it out */
12231223
conflines=replace_token(conflines,
1224-
"host all all ::1",
1225-
"#host all all ::1");
1224+
"host allall ::1",
1225+
"#host allall ::1");
12261226
#endif/* HAVE_IPV6 */
12271227

12281228
/* Replace default authentication methods */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp