Skip to content

Commit c4a6444

Browse files
Add copyright notice to vacuum_horizon_floor.pl test.
Fix oversight in commit 303ba05, which was backpatched through 14. Reviewed-by: Michael Paquier <michael@paquier.xyz> Discussion: https://postgr.es/m/CAD21AoBeFdTJcwUfUYPcEgONab3TS6i1PB9S5cSXcBAmdAdQKw%40mail.gmail.com Backpatch-through: 14
1 parent e4316ec commit c4a6444

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/test/recovery/t/043_vacuum_horizon_floor.pl

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
1-
use strict;
2-
use warnings;
3-
use PostgreSQL::Test::Cluster;
4-
use Test::More;
5-
1+
# Copyright (c) 2025, PostgreSQL Global Development Group
2+
#
63
# Test that vacuum prunes away all dead tuples killed before OldestXmin
74
#
85
# This test creates a table on a primary, updates the table to generate dead
96
# tuples for vacuum, and then, during the vacuum, uses the replica to force
107
# GlobalVisState->maybe_needed on the primary to move backwards and precede
118
# the value of OldestXmin set at the beginning of vacuuming the table.
129

10+
use strict;
11+
use warnings;
12+
use PostgreSQL::Test::Cluster;
13+
use Test::More;
14+
1315
# Set up nodes
1416
my $node_primary = PostgreSQL::Test::Cluster->new('primary');
1517
$node_primary->init(allows_streaming => 'physical');

0 commit comments

Comments
 (0)