Skip to content

Commit 8fa6e69

Browse files
committed
Add a copyright notice to perl files lacking one.
1 parent 44f90ad commit 8fa6e69

File tree

160 files changed

+480
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

160 files changed

+480
-0
lines changed

contrib/amcheck/t/001_verify_heapam.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

contrib/auto_explain/t/001_auto_explain.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

contrib/bloom/t/001_wal.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Test generic xlog record work for bloom index replication.
25
use strict;
36
use warnings;

contrib/intarray/bench/bench.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/perl
22

3+
4+
# Copyright (c) 2021, PostgreSQL Global Development Group
5+
36
use strict;
47
use warnings;
58

contrib/intarray/bench/create_test.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/perl
22

3+
4+
# Copyright (c) 2021, PostgreSQL Global Development Group
5+
36
# contrib/intarray/bench/create_test.pl
47

58
use strict;

contrib/oid2name/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

contrib/seg/seg-validate.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/perl
22

3+
4+
# Copyright (c) 2021, PostgreSQL Global Development Group
5+
36
use strict;
47
use warnings;
58

contrib/seg/sort-segments.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#!/usr/bin/perl
22

3+
4+
# Copyright (c) 2021, PostgreSQL Global Development Group
5+
36
# this script will sort any table with the segment data type in its last column
47

58
use strict;

contrib/test_decoding/t/001_repl_stats.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Test replication statistics data in pg_stat_replication_slots is sane after
25
# drop replication slot and restart.
36
use strict;

contrib/vacuumlo/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/initdb/t/001_initdb.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# To test successful data directory creation with an additional feature, first
25
# try to elaborate the "successful creation" test instead of adding a test.
36
# Successful initdb consumes much time and I/O.

src/bin/pg_amcheck/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_amcheck/t/002_nonesuch.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_amcheck/t/003_check.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_amcheck/t/004_verify_heapam.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_amcheck/t/005_opclass_damage.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# This regression test checks the behavior of the btree validation in the
25
# presence of breaking sort order changes.
36
#

src/bin/pg_archivecleanup/t/010_pg_archivecleanup.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use TestLib;

src/bin/pg_basebackup/t/010_pg_basebackup.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use Cwd;

src/bin/pg_basebackup/t/020_pg_receivewal.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use TestLib;

src/bin/pg_basebackup/t/030_pg_recvlogical.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use TestLib;

src/bin/pg_checksums/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use TestLib;

src/bin/pg_checksums/t/002_actions.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Do basic sanity checks supported by pg_checksums using
25
# an initialized cluster.
36

src/bin/pg_config/t/001_pg_config.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use TestLib;

src/bin/pg_controldata/t/001_pg_controldata.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use PostgresNode;

src/bin/pg_ctl/t/001_start_stop.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_ctl/t/002_status.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_ctl/t/003_promote.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_ctl/t/004_logrotate.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_dump/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_dump/t/002_pg_dump.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_dump/t/003_pg_dump_with_server.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_dump/t/010_dump_connstr.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_resetwal/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_resetwal/t/002_corrupted.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Tests for handling a corrupted pg_control
25

36
use strict;

src/bin/pg_rewind/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use TestLib;

src/bin/pg_rewind/t/002_databases.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use TestLib;

src/bin/pg_rewind/t/003_extrafiles.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Test how pg_rewind reacts to extra files and directories in the data dirs.
25

36
use strict;

src/bin/pg_rewind/t/004_pg_xlog_symlink.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
#
25
# Test pg_rewind when the target's pg_wal directory is a symlink.
36
#

src/bin/pg_rewind/t/005_same_timeline.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
#
25
# Test that running pg_rewind with the source and target clusters
36
# on the same timeline runs successfully.

src/bin/pg_rewind/t/006_options.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
#
25
# Test checking options of pg_rewind.
36
#

src/bin/pg_rewind/t/007_standby_source.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
#
25
# Test using a standby server as the source.
36
#

src/bin/pg_rewind/t/008_min_recovery_point.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
#
25
# Test situation where a target data directory contains
36
# WAL records beyond both the last checkpoint and the divergence

src/bin/pg_rewind/t/RewindTest.pm

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
package RewindTest;
25

36
# Test driver for pg_rewind. Each test consists of a cycle where a new cluster

src/bin/pg_test_fsync/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_test_timing/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pg_verifybackup/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use TestLib;

src/bin/pg_verifybackup/t/002_algorithm.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Verify that we can take and verify backups with various checksum types.
25

36
use strict;

src/bin/pg_verifybackup/t/003_corruption.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Verify that various forms of corruption are detected by pg_verifybackup.
25

36
use strict;

src/bin/pg_verifybackup/t/004_options.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Verify the behavior of assorted pg_verifybackup options.
25

36
use strict;

src/bin/pg_verifybackup/t/005_bad_manifest.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Test the behavior of pg_verifybackup when the backup manifest has
25
# problems.
36

src/bin/pg_verifybackup/t/006_encoding.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Verify that pg_verifybackup handles hex-encoded filenames correctly.
25

36
use strict;

src/bin/pg_verifybackup/t/007_wal.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
# Test pg_verifybackup's WAL verification.
25

36
use strict;

src/bin/pg_waldump/t/001_basic.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36
use TestLib;

src/bin/pgbench/t/001_pgbench_with_server.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

src/bin/pgbench/t/002_pgbench_no_server.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
#
25
# pgbench tests which do not need a server
36
#

src/bin/psql/t/010_tab_completion.pl

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
# Copyright (c) 2021, PostgreSQL Global Development Group
3+
14
use strict;
25
use warnings;
36

0 commit comments

Comments
 (0)