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

Appearance settings

Commit 3e36e48

Browse filesBrowse files
author
Amit Kapila
committed
Fix a test in 003_logical_slots.
We allow to upgrade the slot iff there is no pending WAL to be processed. The test first disables the subscription to avoid unnecessary LOGs on the subscriber and then stops the publisher node. It is quite possible that just before the shutdown of the publisher, autovacuum generates some WAL record that needs to be processed, so just disable the autovacuum for this test. Per buildfarm. Author: Hayato Kuroda Reviewed-by: Amit Kapila Discussion: http://postgr.es/m/OS3PR01MB9882FED1F0060468FB01B9DAF583A@OS3PR01MB9882.jpnprd01.prod.outlook.com
1 parent 5abff2a commit 3e36e48
Copy full SHA for 3e36e48

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎src/bin/pg_upgrade/t/003_logical_slots.pl

Copy file name to clipboardExpand all lines: src/bin/pg_upgrade/t/003_logical_slots.pl
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# Initialize old cluster
1818
my $oldpub = PostgreSQL::Test::Cluster->new('oldpub');
1919
$oldpub->init(allows_streaming => 'logical');
20+
$oldpub->append_conf('postgresql.conf', 'autovacuum = off');
2021

2122
# Initialize new cluster
2223
my $newpub = PostgreSQL::Test::Cluster->new('newpub');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.