Add copyright notice to vacuum_horizon_floor.pl test.
authorMasahiko Sawada <[email protected]>
Thu, 23 Oct 2025 00:17:41 +0000 (17:17 -0700)
committerMasahiko Sawada <[email protected]>
Thu, 23 Oct 2025 00:17:41 +0000 (17:17 -0700)
Fix oversight in commit 303ba0573, which was backpatched through 14.

Reviewed-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/CAD21AoBeFdTJcwUfUYPcEgONab3TS6i1PB9S5cSXcBAmdAdQKw%40mail.gmail.com
Backpatch-through: 14

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

index 90141d365c08bd7000f51a8b79a9c1daf5df1f07..3332bd33f93dc24d1873a966b2ee703d1643c452 100644 (file)
@@ -1,8 +1,5 @@
-use strict;
-use warnings;
-use PostgreSQL::Test::Cluster;
-use Test::More;
-
+# Copyright (c) 2025, PostgreSQL Global Development Group
+#
 # 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
@@ -10,6 +7,11 @@ use Test::More;
 # GlobalVisState->maybe_needed on the primary to move backwards and precede
 # 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
 my $node_primary = PostgreSQL::Test::Cluster->new('primary');
 $node_primary->init(allows_streaming => 'physical');