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 warnings;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,5 +1,8 @@
#!/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
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
# drop replication slot and restart.
use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict;
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
# try to elaborate the "successful creation" test instead of adding a test.
# Successful initdb consumes much time and I/O.

View File

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

View File

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

View File

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

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict;
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
# presence of breaking sort order changes.
#

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict;
use warnings;
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.
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.
#

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
#
# Test that running pg_rewind with the source and target clusters
# 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.
#

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
#
# 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
# 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;
# 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 warnings;

View File

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

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
use strict;
use warnings;
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.
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.
use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Verify the behavior of assorted pg_verifybackup options.
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
# problems.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# src/pl/plperl/text2macro.pl
=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
# methods are checked through this test:
# - Plain

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test password normalization in SCRAM.
#
# 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
# GSSAPI/Kerberos authentication and encryption are working properly,
# 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 warnings;
use TestLib;

View File

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

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Verify that work items work correctly
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
use strict;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test simple scenario involving a standby
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
# repeatedly toggled on and off.
use strict;

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# A simple 'tee' implementation, using perl tie.
#
# 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
=head1 NAME

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Checks for recovery_min_apply_delay
use strict;
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
#
# 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
use strict;
use warnings;

View File

@ -1,3 +1,6 @@
# Copyright (c) 2021, PostgreSQL Global Development Group
# Test WAL replay of FSM changes.
#
# 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