Add a copyright notice to perl files lacking one.

This commit is contained in:
Andrew Dunstan 2021-05-07 10:56:14 -04:00
parent 44f90ad092
commit 8fa6e6919c
No known key found for this signature in database
GPG Key ID: 99FA7FCB59FC3B81
160 changed files with 480 additions and 0 deletions

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test generic xlog record work for bloom index replication. # Test generic xlog record work for bloom index replication.
use strict; use strict;
use warnings; use warnings;

View File

@ -1,5 +1,8 @@
#!/usr/bin/perl #!/usr/bin/perl
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,5 +1,8 @@
#!/usr/bin/perl #!/usr/bin/perl
# Copyright (c) 2021, PostgreSQL Global Development Group
# contrib/intarray/bench/create_test.pl # contrib/intarray/bench/create_test.pl
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,5 +1,8 @@
#!/usr/bin/perl #!/usr/bin/perl
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,5 +1,8 @@
#!/usr/bin/perl #!/usr/bin/perl
# Copyright (c) 2021, PostgreSQL Global Development Group
# this script will sort any table with the segment data type in its last column # this script will sort any table with the segment data type in its last column
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test replication statistics data in pg_stat_replication_slots is sane after # Test replication statistics data in pg_stat_replication_slots is sane after
# drop replication slot and restart. # drop replication slot and restart.
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

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

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# This regression test checks the behavior of the btree validation in the # This regression test checks the behavior of the btree validation in the
# presence of breaking sort order changes. # presence of breaking sort order changes.
# #

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use Cwd; use Cwd;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Do basic sanity checks supported by pg_checksums using # Do basic sanity checks supported by pg_checksums using
# an initialized cluster. # an initialized cluster.

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use PostgresNode; use PostgresNode;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Tests for handling a corrupted pg_control # Tests for handling a corrupted pg_control
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test how pg_rewind reacts to extra files and directories in the data dirs. # Test how pg_rewind reacts to extra files and directories in the data dirs.
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# #
# Test pg_rewind when the target's pg_wal directory is a symlink. # Test pg_rewind when the target's pg_wal directory is a symlink.
# #

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# #
# Test that running pg_rewind with the source and target clusters # Test that running pg_rewind with the source and target clusters
# on the same timeline runs successfully. # on the same timeline runs successfully.

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# #
# Test checking options of pg_rewind. # Test checking options of pg_rewind.
# #

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# #
# Test using a standby server as the source. # Test using a standby server as the source.
# #

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# #
# Test situation where a target data directory contains # Test situation where a target data directory contains
# WAL records beyond both the last checkpoint and the divergence # WAL records beyond both the last checkpoint and the divergence

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
package RewindTest; package RewindTest;
# Test driver for pg_rewind. Each test consists of a cycle where a new cluster # Test driver for pg_rewind. Each test consists of a cycle where a new cluster

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Verify that we can take and verify backups with various checksum types. # Verify that we can take and verify backups with various checksum types.
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Verify that various forms of corruption are detected by pg_verifybackup. # Verify that various forms of corruption are detected by pg_verifybackup.
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Verify the behavior of assorted pg_verifybackup options. # Verify the behavior of assorted pg_verifybackup options.
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test the behavior of pg_verifybackup when the backup manifest has # Test the behavior of pg_verifybackup when the backup manifest has
# problems. # problems.

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Verify that pg_verifybackup handles hex-encoded filenames correctly. # Verify that pg_verifybackup handles hex-encoded filenames correctly.
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test pg_verifybackup's WAL verification. # Test pg_verifybackup's WAL verification.
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# #
# pgbench tests which do not need a server # pgbench tests which do not need a server
# #

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,5 +1,8 @@
#!/usr/bin/perl #!/usr/bin/perl
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# src/pl/plperl/plc_perlboot.pl # src/pl/plperl/plc_perlboot.pl
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# src/pl/plperl/plc_trusted.pl # src/pl/plperl/plc_trusted.pl
#<<< protect next line from perltidy so perlcritic annotation works #<<< protect next line from perltidy so perlcritic annotation works

View File

@ -1,5 +1,8 @@
#!perl #!perl
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# src/pl/plperl/text2macro.pl # src/pl/plperl/text2macro.pl
=head1 NAME =head1 NAME

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Set of tests for authentication and pg_hba.conf. The following password # Set of tests for authentication and pg_hba.conf. The following password
# methods are checked through this test: # methods are checked through this test:
# - Plain # - Plain

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test password normalization in SCRAM. # Test password normalization in SCRAM.
# #
# This test can only run with Unix-domain sockets. # This test can only run with Unix-domain sockets.

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Sets up a KDC and then runs a variety of tests to make sure that the # Sets up a KDC and then runs a variety of tests to make sure that the
# GSSAPI/Kerberos authentication and encryption are working properly, # GSSAPI/Kerberos authentication and encryption are working properly,
# that the options in pg_hba.conf and pg_ident.conf are handled correctly, # that the options in pg_hba.conf and pg_ident.conf are handled correctly,

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use TestLib; use TestLib;

View File

@ -1,5 +1,8 @@
#! /usr/bin/perl #! /usr/bin/perl
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;
use locale; use locale;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Verify that work items work correctly # Verify that work items work correctly
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Single-node test: value can be set, and is still present after recovery # Single-node test: value can be set, and is still present after recovery
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test simple scenario involving a standby # Test simple scenario involving a standby
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test primary/standby scenario where the track_commit_timestamp GUC is # Test primary/standby scenario where the track_commit_timestamp GUC is
# repeatedly toggled on and off. # repeatedly toggled on and off.
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Testing of commit timestamps preservation across restarts # Testing of commit timestamps preservation across restarts
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Verify that ALTER TABLE optimizes certain operations as expected # Verify that ALTER TABLE optimizes certain operations as expected
use strict; use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict; use strict;
use warnings; use warnings;

View File

@ -1,4 +1,7 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
=pod =pod
=head1 NAME =head1 NAME

View File

@ -1,4 +1,7 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
=pod =pod
=head1 NAME =head1 NAME

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# A simple 'tee' implementation, using perl tie. # A simple 'tee' implementation, using perl tie.
# #
# Whenever you print to the handle, it gets forwarded to a list of # Whenever you print to the handle, it gets forwarded to a list of

View File

@ -1,4 +1,7 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
=pod =pod
=head1 NAME =head1 NAME

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Minimal test testing streaming replication # Minimal test testing streaming replication
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# test for archiving with hot standby # test for archiving with hot standby
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test for recovery targets: name, timestamp, XID # Test for recovery targets: name, timestamp, XID
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test for timeline switch # Test for timeline switch
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Checks for recovery_min_apply_delay # Checks for recovery_min_apply_delay
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Testing of logical decoding using SQL interface and/or pg_recvlogical # Testing of logical decoding using SQL interface and/or pg_recvlogical
# #
# Most logical decoding tests are in contrib/test_decoding. This module # Most logical decoding tests are in contrib/test_decoding. This module

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Minimal test testing synchronous replication sync_state transition # Minimal test testing synchronous replication sync_state transition
use strict; use strict;
use warnings; use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test WAL replay of FSM changes. # Test WAL replay of FSM changes.
# #
# FSM changes don't normally need to be WAL-logged, except for truncation. # FSM changes don't normally need to be WAL-logged, except for truncation.

Some files were not shown because too many files have changed in this diff Show More