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

Commita83e4b4

Browse files
committed
Un-break things on IPv6-less platforms.
Commitbe37c21 forgot to teach initdb about commenting out the IPv6replication entry that it caused to exist in pg_hba.conf.sample.Per buildfarm.
1 parent07a61e1 commita83e4b4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎src/bin/initdb/initdb.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,15 +1213,23 @@ setup_config(void)
12131213

12141214
if (err!=0||
12151215
getaddrinfo("::1",NULL,&hints,&gai_result)!=0)
1216+
{
12161217
conflines=replace_token(conflines,
12171218
"host all all ::1",
12181219
"#host all all ::1");
1220+
conflines=replace_token(conflines,
1221+
"host replication all ::1",
1222+
"#host replication all ::1");
1223+
}
12191224
}
12201225
#else/* !HAVE_IPV6 */
12211226
/* If we didn't compile IPV6 support at all, always comment it out */
12221227
conflines=replace_token(conflines,
12231228
"host all all ::1",
12241229
"#host all all ::1");
1230+
conflines=replace_token(conflines,
1231+
"host replication all ::1",
1232+
"#host replication all ::1");
12251233
#endif/* HAVE_IPV6 */
12261234

12271235
/* Replace default authentication methods */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp