We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0bdb8c commit 3124131Copy full SHA for 3124131
1 file changed
src/test/recovery/t/046_checkpoint_logical_slot.pl
@@ -138,6 +138,13 @@
138
};
139
is($@, '', "Logical slot still valid");
140
141
+# If we send \q with $<psql_session>->quit the command can be sent to the
142
+# session already closed. So \q is in initial script, here we only finish
143
+# IPC::Run
144
+$xacts->{run}->finish;
145
+$checkpoint->{run}->finish;
146
+$logical->{run}->finish;
147
+
148
# Verify that the synchronized slots won't be invalidated immediately after
149
# synchronization in the presence of a concurrent checkpoint.
150
my $primary = $node;
@@ -153,8 +160,7 @@
153
160
my $standby = PostgreSQL::Test::Cluster->new('standby');
154
161
$standby->init_from_backup(
155
162
$primary, $backup_name,
156
- has_streaming => 1,
157
- has_restoring => 1);
163
+ has_streaming => 1);
158
164
159
165
my $connstr_1 = $primary->connstr;
166
$standby->append_conf(
0 commit comments