|
|
|
@ -1,8 +1,5 @@ |
|
|
|
use strict; |
|
|
|
# Copyright (c) 2025, PostgreSQL Global Development Group |
|
|
|
use warnings; |
|
|
|
# |
|
|
|
use PostgreSQL::Test::Cluster; |
|
|
|
|
|
|
|
use Test::More; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Test that vacuum prunes away all dead tuples killed before OldestXmin |
|
|
|
# Test that vacuum prunes away all dead tuples killed before OldestXmin |
|
|
|
# |
|
|
|
# |
|
|
|
# This test creates a table on a primary, updates the table to generate dead |
|
|
|
# This test creates a table on a primary, updates the table to generate dead |
|
|
|
@ -10,6 +7,11 @@ use Test::More; |
|
|
|
# GlobalVisState->maybe_needed on the primary to move backwards and precede |
|
|
|
# GlobalVisState->maybe_needed on the primary to move backwards and precede |
|
|
|
# the value of OldestXmin set at the beginning of vacuuming the table. |
|
|
|
# the value of OldestXmin set at the beginning of vacuuming the table. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
use strict; |
|
|
|
|
|
|
|
use warnings; |
|
|
|
|
|
|
|
use PostgreSQL::Test::Cluster; |
|
|
|
|
|
|
|
use Test::More; |
|
|
|
|
|
|
|
|
|
|
|
# Set up nodes |
|
|
|
# Set up nodes |
|
|
|
my $node_primary = PostgreSQL::Test::Cluster->new('primary'); |
|
|
|
my $node_primary = PostgreSQL::Test::Cluster->new('primary'); |
|
|
|
$node_primary->init(allows_streaming => 'physical'); |
|
|
|
$node_primary->init(allows_streaming => 'physical'); |
|
|
|
|