Add copyright notice to 048_vacuum_horizon_floor.pl

Started by Masahiko Sawada3 months ago3 messages
#1Masahiko Sawada
sawada.mshk@gmail.com
1 attachment(s)

Hi,

I noticed that 048_vacuum_horizon_floor.pl is missing the copyright
notice. I've attached a patch to add it.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com

Attachments:

add_copyright.patchapplication/octet-stream; name=add_copyright.patchDownload
diff --git a/src/test/recovery/t/048_vacuum_horizon_floor.pl b/src/test/recovery/t/048_vacuum_horizon_floor.pl
index e56fce59d58..668eedd71b2 100644
--- a/src/test/recovery/t/048_vacuum_horizon_floor.pl
+++ b/src/test/recovery/t/048_vacuum_horizon_floor.pl
@@ -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');
#2Michael Paquier
michael@paquier.xyz
In reply to: Masahiko Sawada (#1)
Re: Add copyright notice to 048_vacuum_horizon_floor.pl

On Wed, Oct 22, 2025 at 03:25:39PM -0700, Masahiko Sawada wrote:

I noticed that 048_vacuum_horizon_floor.pl is missing the copyright
notice. I've attached a patch to add it.

LGTM.
--
Michael

#3Masahiko Sawada
sawada.mshk@gmail.com
In reply to: Michael Paquier (#2)
Re: Add copyright notice to 048_vacuum_horizon_floor.pl

On Wed, Oct 22, 2025 at 4:10 PM Michael Paquier <michael@paquier.xyz> wrote:

On Wed, Oct 22, 2025 at 03:25:39PM -0700, Masahiko Sawada wrote:

I noticed that 048_vacuum_horizon_floor.pl is missing the copyright
notice. I've attached a patch to add it.

LGTM.

Thanks. It seems an oversight in commit 303ba0573. I'm going to
backpatch it through 14.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com