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

Commitdef0ce3

Browse files
author
Amit Kapila
committed
Fix BF failure introduced by commitb3f6b14.
The test added by commitb3f6b14 uses a non-superuser and forgot to setup pg_hba.conf to allow connections from it. The special setup is onlyneeded on Windows machines that don't use UNIX sockets.As per buildfarmDiscussion:https://postgr.es/m/CAJpy0uCfrSspV1x3VWkgamqyhYaUWQZpP0nqjJx4YPvKqN6P_A@mail.gmail.com
1 parent963d307 commitdef0ce3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎src/test/recovery/t/040_standby_failover_slots_sync.pl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@
1414

1515
# Create publisher
1616
my$publisher = PostgreSQL::Test::Cluster->new('publisher');
17-
$publisher->init(allows_streaming=>'logical');
17+
# Make sure pg_hba.conf is set up to allow connections from repl_role.
18+
# This is only needed on Windows machines that don't use UNIX sockets.
19+
$publisher->init(
20+
allows_streaming=>'logical',
21+
auth_extra=> ['--create-role','repl_role' ]);
1822
# Disable autovacuum to avoid generating xid during stats update as otherwise
1923
# the new XID could then be replicated to standby at some random point making
2024
# slots at primary lag behind standby during slot sync.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp