From dbad1c53e92e364e2675f1246e443b95545d4070 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 5 Jan 2024 13:15:50 +0000 Subject: [PATCH] Add copyright notices to a few perl scripts that don't have them --- config/check_modules.pl | 3 +++ src/backend/snowball/snowball_create.pl | 2 ++ src/test/modules/test_misc/t/002_tablespace.pl | 3 +++ src/test/modules/test_misc/t/003_check_guc.pl | 3 +++ src/test/modules/test_misc/t/004_io_direct.pl | 3 +++ src/test/recovery/t/027_stream_regress.pl | 3 +++ src/test/recovery/t/032_relfilenode_reuse.pl | 3 +++ src/tools/ci/windows_build_config.pl | 3 +++ src/tools/gen_export.pl | 3 +++ 9 files changed, 26 insertions(+) diff --git a/config/check_modules.pl b/config/check_modules.pl index 1599abcc0b..b605634e07 100644 --- a/config/check_modules.pl +++ b/config/check_modules.pl @@ -1,3 +1,6 @@ + +# Copyright (c) 2024, PostgreSQL Global Development Group + # # Verify that required Perl modules are available, # in at least the required minimum versions. diff --git a/src/backend/snowball/snowball_create.pl b/src/backend/snowball/snowball_create.pl index f1c5d160de..95b38650db 100644 --- a/src/backend/snowball/snowball_create.pl +++ b/src/backend/snowball/snowball_create.pl @@ -1,5 +1,7 @@ #!/usr/bin/perl +# Copyright (c) 2024, PostgreSQL Global Development Group + use strict; use warnings FATAL => 'all'; use Getopt::Long; diff --git a/src/test/modules/test_misc/t/002_tablespace.pl b/src/test/modules/test_misc/t/002_tablespace.pl index 220e2b073d..3f258fd69a 100644 --- a/src/test/modules/test_misc/t/002_tablespace.pl +++ b/src/test/modules/test_misc/t/002_tablespace.pl @@ -1,3 +1,6 @@ + +# Copyright (c) 2024, PostgreSQL Global Development Group + # Simple tablespace tests that can't be replicated on the same host # due to the use of absolute paths, so we keep them out of the regular # regression tests. diff --git a/src/test/modules/test_misc/t/003_check_guc.pl b/src/test/modules/test_misc/t/003_check_guc.pl index 0c222bada9..3ae4bb1cd9 100644 --- a/src/test/modules/test_misc/t/003_check_guc.pl +++ b/src/test/modules/test_misc/t/003_check_guc.pl @@ -1,3 +1,6 @@ + +# Copyright (c) 2024, PostgreSQL Global Development Group + # Tests to cross-check the consistency of GUC parameters with # postgresql.conf.sample. diff --git a/src/test/modules/test_misc/t/004_io_direct.pl b/src/test/modules/test_misc/t/004_io_direct.pl index e3f0966b8d..b79ceba000 100644 --- a/src/test/modules/test_misc/t/004_io_direct.pl +++ b/src/test/modules/test_misc/t/004_io_direct.pl @@ -1,3 +1,6 @@ + +# Copyright (c) 2024, PostgreSQL Global Development Group + # Very simple exercise of direct I/O GUC. use strict; diff --git a/src/test/recovery/t/027_stream_regress.pl b/src/test/recovery/t/027_stream_regress.pl index 20508307b5..ae8dea02e4 100644 --- a/src/test/recovery/t/027_stream_regress.pl +++ b/src/test/recovery/t/027_stream_regress.pl @@ -1,3 +1,6 @@ + +# Copyright (c) 2024, PostgreSQL Global Development Group + # Run the standard regression tests with streaming replication use strict; use warnings FATAL => 'all'; diff --git a/src/test/recovery/t/032_relfilenode_reuse.pl b/src/test/recovery/t/032_relfilenode_reuse.pl index 8a4cceacc2..96a8104b80 100644 --- a/src/test/recovery/t/032_relfilenode_reuse.pl +++ b/src/test/recovery/t/032_relfilenode_reuse.pl @@ -1,3 +1,6 @@ + +# Copyright (c) 2024, PostgreSQL Global Development Group + use strict; use warnings FATAL => 'all'; use PostgreSQL::Test::Cluster; diff --git a/src/tools/ci/windows_build_config.pl b/src/tools/ci/windows_build_config.pl index a3eb96b7fd..74287367b1 100644 --- a/src/tools/ci/windows_build_config.pl +++ b/src/tools/ci/windows_build_config.pl @@ -1,3 +1,6 @@ + +# Copyright (c) 2024, PostgreSQL Global Development Group + use strict; use warnings FATAL => 'all'; diff --git a/src/tools/gen_export.pl b/src/tools/gen_export.pl index 08f839ed07..888c8a197a 100644 --- a/src/tools/gen_export.pl +++ b/src/tools/gen_export.pl @@ -1,3 +1,6 @@ + +# Copyright (c) 2024, PostgreSQL Global Development Group + use strict; use warnings FATAL => 'all'; use Getopt::Long;