Compare commits

..

No commits in common. "9d49837d7144e27ad8ea8918acb28f9872cb1585" and "541e8f14a185495f814ae0a0876a0d0c4118833a" have entirely different histories.

282 changed files with 301 additions and 340 deletions

View File

@ -5,7 +5,7 @@
# but specify them anyway for documentation's sake.)
#
use strict;
use warnings FATAL => 'all';
use warnings;
use Config;
use IPC::Run 0.79;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -3,7 +3,7 @@
# Test CREATE INDEX CONCURRENTLY with concurrent modifications
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -3,7 +3,7 @@
# Test CREATE INDEX CONCURRENTLY with concurrent prepared-xact modifications
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -5,7 +5,7 @@
# presence of breaking sort order changes.
#
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Test integrity of intermediate states by PITR to those states
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -1,7 +1,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -3,7 +3,7 @@
# Test generic xlog record work for bloom index replication.
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -9,7 +9,7 @@
#
use strict;
use warnings FATAL => 'all';
use warnings;
die "Usage: $0 OUTPUT_FILE\n" if @ARGV != 1;
my $output_file = $ARGV[0];

View File

@ -3,7 +3,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
# make sure we are in a sane environment.
use DBI();

View File

@ -5,7 +5,7 @@
# contrib/intarray/bench/create_test.pl
use strict;
use warnings FATAL => 'all';
use warnings;
print <<EOT;
create table message (

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -3,7 +3,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
my $integer = '[+-]?[0-9]+';
my $real = '[+-]?[0-9]+\.[0-9]+';

View File

@ -5,7 +5,7 @@
# this script will sort any table with the segment data type in its last column
use strict;
use warnings FATAL => 'all';
use warnings;
my @rows;

View File

@ -4,7 +4,7 @@
# Test replication statistics data in pg_stat_replication_slots is sane after
# drop replication slot and restart.
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -4,7 +4,7 @@
# Copyright (c) 2000-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
print
"<!-- autogenerated from src/backend/utils/errcodes.txt, do not edit -->\n";

View File

@ -5,7 +5,7 @@
# Copyright (c) 2019-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
my @sql_versions = reverse sort ('1992', '2016', '2023');

View File

@ -4,7 +4,7 @@
# Copyright (c) 2000-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
my $targets_meson_file = $ARGV[0];
open my $targets_meson, '<', $targets_meson_file or die;

View File

@ -3,7 +3,7 @@
# doc/src/sgml/mk_feature_tables.pl
use strict;
use warnings FATAL => 'all';
use warnings;
my $yesno = $ARGV[0];

View File

@ -14,7 +14,7 @@
package Catalog;
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Compare;

View File

@ -14,7 +14,7 @@
#----------------------------------------------------------------------
use strict;
use warnings FATAL => 'all';
use warnings;
use Getopt::Long;
use FindBin;

View File

@ -16,7 +16,7 @@
#----------------------------------------------------------------------
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Basename;
use Getopt::Long;

View File

@ -7,7 +7,7 @@
# Copyright (c) 2009-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
my $gram_filename = $ARGV[0];
my $kwlist_filename = $ARGV[1];

View File

@ -1,7 +1,7 @@
#!/usr/bin/perl
use strict;
use warnings FATAL => 'all';
use warnings;
use Getopt::Long;
my $outdir_path = '';

View File

@ -4,7 +4,7 @@
# Copyright (c) 2000-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use Getopt::Long;
my $output_path = '.';

View File

@ -7,7 +7,7 @@
#-------------------------------------------------------------------------
use strict;
use warnings FATAL => 'all';
use warnings;
m/^\s*probe / || next;
s/^\s*probe ([^(]*)(.*);/$1$2/;

View File

@ -17,7 +17,7 @@
use Catalog;
use strict;
use warnings FATAL => 'all';
use warnings;
use Getopt::Long;
my $output_path = '';

View File

@ -15,7 +15,7 @@
#----------------------------------------------------------------------
use strict;
use warnings FATAL => 'all';
use warnings;
use Getopt::Long;
my $output_path = '.';

View File

@ -4,7 +4,7 @@
# Copyright (c) 2000-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use Getopt::Long;
my $outfile = '';

View File

@ -25,7 +25,7 @@
# # and Unicode name (not used in this script)
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -14,7 +14,7 @@
# and the "b" field is the hex byte sequence for GB18030
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -8,7 +8,7 @@
# "euc-jis-2004-std.txt" (http://x0213.org)
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -12,7 +12,7 @@
# organization's ftp site.
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -17,7 +17,7 @@
# # and Unicode name (not used in this script)
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -18,7 +18,7 @@
# # and Unicode name (not used in this script)
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -14,7 +14,7 @@
# and the "b" field is the hex byte sequence for GB18030
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -16,7 +16,7 @@
# # and Unicode name (not used in this script)
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -8,7 +8,7 @@
# "sjis-0213-2004-std.txt" (http://x0213.org)
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -11,7 +11,7 @@
# ftp site.
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -14,7 +14,7 @@
# and the "b" field is the hex byte sequence for UHC
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -16,7 +16,7 @@
# # and Unicode name (not used in this script)
use strict;
use warnings FATAL => 'all';
use warnings;
use convutils;

View File

@ -6,7 +6,7 @@
package convutils;
use strict;
use warnings FATAL => 'all';
use warnings;
use Carp;
use Exporter 'import';

View File

@ -6,7 +6,7 @@
# Successful initdb consumes much time and I/O.
use strict;
use warnings FATAL => 'all';
use warnings;
use Fcntl ':mode';
use File::stat qw{lstat};
use PostgreSQL::Test::Cluster;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -5,7 +5,7 @@
# presence of breaking sort order changes.
#
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Basename qw(basename dirname);
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;

View File

@ -1,7 +1,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use PostgreSQL::Test::Cluster;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use PostgreSQL::Test::Cluster;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -5,7 +5,7 @@
# an initialized cluster.
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -1,7 +1,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -1,7 +1,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Compare;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -4,7 +4,7 @@
# properly even when the reference backup is on a different timeline.
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Compare;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -6,7 +6,7 @@
# pg_combinebackup does not produce a manifest when run with --no-manifest.
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Compare;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -5,7 +5,7 @@
# prior backup.
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Compare;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2046,26 +2046,6 @@ selectDumpablePublicationObject(DumpableObject *dobj, Archive *fout)
DUMP_COMPONENT_ALL : DUMP_COMPONENT_NONE;
}
/*
* selectDumpableStatisticsObject: policy-setting subroutine
* Mark an extended statistics object as to be dumped or not
*
* We dump an extended statistics object if the schema it's in and the table
* it's for are being dumped. (This'll need more thought if statistics
* objects ever support cross-table stats.)
*/
static void
selectDumpableStatisticsObject(StatsExtInfo *sobj, Archive *fout)
{
if (checkExtensionMembership(&sobj->dobj, fout))
return; /* extension membership overrides all else */
sobj->dobj.dump = sobj->dobj.namespace->dobj.dump_contains;
if (sobj->stattable == NULL ||
!(sobj->stattable->dobj.dump & DUMP_COMPONENT_DEFINITION))
sobj->dobj.dump = DUMP_COMPONENT_NONE;
}
/*
* selectDumpableObject: policy-setting subroutine
* Mark a generic dumpable object as to be dumped or not
@ -7311,7 +7291,6 @@ getExtendedStatistics(Archive *fout)
int i_stxname;
int i_stxnamespace;
int i_stxowner;
int i_stxrelid;
int i_stattarget;
int i;
@ -7323,11 +7302,11 @@ getExtendedStatistics(Archive *fout)
if (fout->remoteVersion < 130000)
appendPQExpBufferStr(query, "SELECT tableoid, oid, stxname, "
"stxnamespace, stxowner, stxrelid, (-1) AS stxstattarget "
"stxnamespace, stxowner, (-1) AS stxstattarget "
"FROM pg_catalog.pg_statistic_ext");
else
appendPQExpBufferStr(query, "SELECT tableoid, oid, stxname, "
"stxnamespace, stxowner, stxrelid, stxstattarget "
"stxnamespace, stxowner, stxstattarget "
"FROM pg_catalog.pg_statistic_ext");
res = ExecuteSqlQuery(fout, query->data, PGRES_TUPLES_OK);
@ -7339,7 +7318,6 @@ getExtendedStatistics(Archive *fout)
i_stxname = PQfnumber(res, "stxname");
i_stxnamespace = PQfnumber(res, "stxnamespace");
i_stxowner = PQfnumber(res, "stxowner");
i_stxrelid = PQfnumber(res, "stxrelid");
i_stattarget = PQfnumber(res, "stxstattarget");
statsextinfo = (StatsExtInfo *) pg_malloc(ntups * sizeof(StatsExtInfo));
@ -7354,12 +7332,10 @@ getExtendedStatistics(Archive *fout)
statsextinfo[i].dobj.namespace =
findNamespace(atooid(PQgetvalue(res, i, i_stxnamespace)));
statsextinfo[i].rolname = getRoleName(PQgetvalue(res, i, i_stxowner));
statsextinfo[i].stattable =
findTableByOid(atooid(PQgetvalue(res, i, i_stxrelid)));
statsextinfo[i].stattarget = atoi(PQgetvalue(res, i, i_stattarget));
/* Decide whether we want to dump it */
selectDumpableStatisticsObject(&(statsextinfo[i]), fout);
selectDumpableObject(&(statsextinfo[i].dobj), fout);
}
PQclear(res);

View File

@ -423,8 +423,7 @@ typedef struct _indexAttachInfo
typedef struct _statsExtInfo
{
DumpableObject dobj;
const char *rolname; /* owner */
TableInfo *stattable; /* link to table the stats are for */
const char *rolname;
int stattarget; /* statistics target */
} StatsExtInfo;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
@ -3742,15 +3742,14 @@ my %tests = (
'CREATE STATISTICS extended_stats_no_options' => {
create_order => 97,
create_sql => 'CREATE STATISTICS dump_test.test_ext_stats_no_options
ON col1, col2 FROM dump_test.test_table',
ON col1, col2 FROM dump_test.test_fifth_table',
regexp => qr/^
\QCREATE STATISTICS dump_test.test_ext_stats_no_options ON col1, col2 FROM dump_test.test_table;\E
\QCREATE STATISTICS dump_test.test_ext_stats_no_options ON col1, col2 FROM dump_test.test_fifth_table;\E
/xms,
like =>
{ %full_runs, %dump_test_schema_runs, section_post_data => 1, },
unlike => {
exclude_dump_test_schema => 1,
exclude_test_table => 1,
only_dump_measurement => 1,
},
},

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -4,7 +4,7 @@
# Tests for handling a corrupted pg_control
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -4,7 +4,7 @@
# Test how pg_rewind reacts to extra files and directories in the data dirs.
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -5,7 +5,7 @@
# Test pg_rewind when the target's pg_wal directory is a symlink.
#
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Copy;
use File::Path qw(rmtree);
use PostgreSQL::Test::Utils;

View File

@ -6,7 +6,7 @@
# on the same timeline runs successfully.
#
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -5,7 +5,7 @@
# Test checking options of pg_rewind.
#
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -25,7 +25,7 @@
# as is.
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -31,7 +31,7 @@
# nodes.
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -32,7 +32,7 @@ package RewindTest;
# to run psql against the primary and standby servers, respectively.
use strict;
use warnings FATAL => 'all';
use warnings;
use Carp;
use Exporter 'import';

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -1,7 +1,7 @@
# Copyright (c) 2022-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -2,7 +2,7 @@
# Set of tests for pg_upgrade, including cross-version checks.
use strict;
use warnings FATAL => 'all';
use warnings;
use Cwd qw(abs_path);
use File::Basename qw(dirname);

View File

@ -3,7 +3,7 @@
# Tests for upgrading logical replication slots
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Find qw(find);

View File

@ -2,7 +2,7 @@
# Copyright (c) 2021-2023, PostgreSQL Global Development Group
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -4,7 +4,7 @@
# Verify that we can take and verify backups with various checksum types.
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -4,7 +4,7 @@
# Verify that various forms of corruption are detected by pg_verifybackup.
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -4,7 +4,7 @@
# Verify the behavior of assorted pg_verifybackup options.
use strict;
use warnings FATAL => 'all';
use warnings;
use File::Path qw(rmtree);
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;

View File

@ -5,7 +5,7 @@
# problems.
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

View File

@ -4,7 +4,7 @@
# Verify that pg_verifybackup handles hex-encoded filenames correctly.
use strict;
use warnings FATAL => 'all';
use warnings;
use PostgreSQL::Test::Cluster;
use PostgreSQL::Test::Utils;
use Test::More;

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