Add a copyright notice to perl files lacking one.

pull/64/head
Andrew Dunstan 4 years ago
parent 44f90ad092
commit 8fa6e6919c
No known key found for this signature in database
GPG Key ID: 99FA7FCB59FC3B81
  1. 3
      contrib/amcheck/t/001_verify_heapam.pl
  2. 3
      contrib/auto_explain/t/001_auto_explain.pl
  3. 3
      contrib/bloom/t/001_wal.pl
  4. 3
      contrib/intarray/bench/bench.pl
  5. 3
      contrib/intarray/bench/create_test.pl
  6. 3
      contrib/oid2name/t/001_basic.pl
  7. 3
      contrib/seg/seg-validate.pl
  8. 3
      contrib/seg/sort-segments.pl
  9. 3
      contrib/test_decoding/t/001_repl_stats.pl
  10. 3
      contrib/vacuumlo/t/001_basic.pl
  11. 3
      src/bin/initdb/t/001_initdb.pl
  12. 3
      src/bin/pg_amcheck/t/001_basic.pl
  13. 3
      src/bin/pg_amcheck/t/002_nonesuch.pl
  14. 3
      src/bin/pg_amcheck/t/003_check.pl
  15. 3
      src/bin/pg_amcheck/t/004_verify_heapam.pl
  16. 3
      src/bin/pg_amcheck/t/005_opclass_damage.pl
  17. 3
      src/bin/pg_archivecleanup/t/010_pg_archivecleanup.pl
  18. 3
      src/bin/pg_basebackup/t/010_pg_basebackup.pl
  19. 3
      src/bin/pg_basebackup/t/020_pg_receivewal.pl
  20. 3
      src/bin/pg_basebackup/t/030_pg_recvlogical.pl
  21. 3
      src/bin/pg_checksums/t/001_basic.pl
  22. 3
      src/bin/pg_checksums/t/002_actions.pl
  23. 3
      src/bin/pg_config/t/001_pg_config.pl
  24. 3
      src/bin/pg_controldata/t/001_pg_controldata.pl
  25. 3
      src/bin/pg_ctl/t/001_start_stop.pl
  26. 3
      src/bin/pg_ctl/t/002_status.pl
  27. 3
      src/bin/pg_ctl/t/003_promote.pl
  28. 3
      src/bin/pg_ctl/t/004_logrotate.pl
  29. 3
      src/bin/pg_dump/t/001_basic.pl
  30. 3
      src/bin/pg_dump/t/002_pg_dump.pl
  31. 3
      src/bin/pg_dump/t/003_pg_dump_with_server.pl
  32. 3
      src/bin/pg_dump/t/010_dump_connstr.pl
  33. 3
      src/bin/pg_resetwal/t/001_basic.pl
  34. 3
      src/bin/pg_resetwal/t/002_corrupted.pl
  35. 3
      src/bin/pg_rewind/t/001_basic.pl
  36. 3
      src/bin/pg_rewind/t/002_databases.pl
  37. 3
      src/bin/pg_rewind/t/003_extrafiles.pl
  38. 3
      src/bin/pg_rewind/t/004_pg_xlog_symlink.pl
  39. 3
      src/bin/pg_rewind/t/005_same_timeline.pl
  40. 3
      src/bin/pg_rewind/t/006_options.pl
  41. 3
      src/bin/pg_rewind/t/007_standby_source.pl
  42. 3
      src/bin/pg_rewind/t/008_min_recovery_point.pl
  43. 3
      src/bin/pg_rewind/t/RewindTest.pm
  44. 3
      src/bin/pg_test_fsync/t/001_basic.pl
  45. 3
      src/bin/pg_test_timing/t/001_basic.pl
  46. 3
      src/bin/pg_verifybackup/t/001_basic.pl
  47. 3
      src/bin/pg_verifybackup/t/002_algorithm.pl
  48. 3
      src/bin/pg_verifybackup/t/003_corruption.pl
  49. 3
      src/bin/pg_verifybackup/t/004_options.pl
  50. 3
      src/bin/pg_verifybackup/t/005_bad_manifest.pl
  51. 3
      src/bin/pg_verifybackup/t/006_encoding.pl
  52. 3
      src/bin/pg_verifybackup/t/007_wal.pl
  53. 3
      src/bin/pg_waldump/t/001_basic.pl
  54. 3
      src/bin/pgbench/t/001_pgbench_with_server.pl
  55. 3
      src/bin/pgbench/t/002_pgbench_no_server.pl
  56. 3
      src/bin/psql/t/010_tab_completion.pl
  57. 3
      src/bin/scripts/t/010_clusterdb.pl
  58. 3
      src/bin/scripts/t/011_clusterdb_all.pl
  59. 3
      src/bin/scripts/t/020_createdb.pl
  60. 3
      src/bin/scripts/t/040_createuser.pl
  61. 3
      src/bin/scripts/t/050_dropdb.pl
  62. 3
      src/bin/scripts/t/070_dropuser.pl
  63. 3
      src/bin/scripts/t/080_pg_isready.pl
  64. 3
      src/bin/scripts/t/090_reindexdb.pl
  65. 3
      src/bin/scripts/t/091_reindexdb_all.pl
  66. 3
      src/bin/scripts/t/100_vacuumdb.pl
  67. 3
      src/bin/scripts/t/101_vacuumdb_all.pl
  68. 3
      src/bin/scripts/t/102_vacuumdb_stages.pl
  69. 3
      src/bin/scripts/t/200_connstr.pl
  70. 3
      src/interfaces/libpq/test/regress.pl
  71. 3
      src/pl/plperl/plc_perlboot.pl
  72. 3
      src/pl/plperl/plc_trusted.pl
  73. 3
      src/pl/plperl/plperl_opmask.pl
  74. 3
      src/pl/plperl/text2macro.pl
  75. 3
      src/test/authentication/t/001_password.pl
  76. 3
      src/test/authentication/t/002_saslprep.pl
  77. 3
      src/test/kerberos/t/001_auth.pl
  78. 3
      src/test/ldap/t/001_auth.pl
  79. 3
      src/test/locale/sort-test.pl
  80. 3
      src/test/modules/brin/t/01_workitems.pl
  81. 3
      src/test/modules/commit_ts/t/001_base.pl
  82. 3
      src/test/modules/commit_ts/t/002_standby.pl
  83. 3
      src/test/modules/commit_ts/t/003_standby_2.pl
  84. 3
      src/test/modules/commit_ts/t/004_restart.pl
  85. 3
      src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl
  86. 3
      src/test/modules/ssl_passphrase_callback/t/001_testfunc.pl
  87. 3
      src/test/modules/test_misc/t/001_constraint_validation.pl
  88. 3
      src/test/modules/test_pg_dump/t/001_base.pl
  89. 3
      src/test/perl/PostgresNode.pm
  90. 3
      src/test/perl/RecursiveCopy.pm
  91. 3
      src/test/perl/SimpleTee.pm
  92. 3
      src/test/perl/TestLib.pm
  93. 3
      src/test/recovery/t/001_stream_rep.pl
  94. 3
      src/test/recovery/t/002_archiving.pl
  95. 3
      src/test/recovery/t/003_recovery_targets.pl
  96. 3
      src/test/recovery/t/004_timeline_switch.pl
  97. 3
      src/test/recovery/t/005_replay_delay.pl
  98. 3
      src/test/recovery/t/006_logical_decoding.pl
  99. 3
      src/test/recovery/t/007_sync_rep.pl
  100. 3
      src/test/recovery/t/008_fsm_truncation.pl
  101. Some files were not shown because too many files have changed in this diff Show More

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

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

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

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

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

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

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

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

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

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

@ -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.

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

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

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

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

@ -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.
#

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -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.

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

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

@ -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

@ -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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -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

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

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

@ -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

@ -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.

@ -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,

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

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

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

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

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

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

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

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

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

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

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

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

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

@ -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

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

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

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

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

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

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

@ -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

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

@ -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

Loading…
Cancel
Save