summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Davis2024-03-09 19:51:10 +0000
committerJeff Davis2024-03-09 19:51:31 +0000
commitb0289574bdf1202248201a3143d1459bdf5727fd (patch)
treef8f69baf461ca019736507d65f8f1a0ad2d04fa4
parent5ba8b70debb119813f241069bf359c00e4a784f0 (diff)
Run perltidy on 002_pg_upgrade.pl.
-rw-r--r--src/bin/pg_upgrade/t/002_pg_upgrade.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_upgrade/t/002_pg_upgrade.pl b/src/bin/pg_upgrade/t/002_pg_upgrade.pl
index 16b42d475fd..fa836e83e57 100644
--- a/src/bin/pg_upgrade/t/002_pg_upgrade.pl
+++ b/src/bin/pg_upgrade/t/002_pg_upgrade.pl
@@ -255,8 +255,7 @@ if (defined($ENV{oldinstall}))
# For simplicity, use the newer version's psql to issue the commands.
$newnode->command_ok(
[
- 'psql', '-X',
- '-v', 'ON_ERROR_STOP=1',
+ 'psql', '-X', '-v', 'ON_ERROR_STOP=1',
'-d', $oldnode->connstr($updb),
@command_args,
],
@@ -322,7 +321,8 @@ if (defined($ENV{oldinstall}))
}
# Create an invalid database, will be deleted below
-$oldnode->safe_psql('postgres', qq(
+$oldnode->safe_psql(
+ 'postgres', qq(
CREATE DATABASE regression_invalid;
UPDATE pg_database SET datconnlimit = -2 WHERE datname = 'regression_invalid';
));
@@ -365,7 +365,7 @@ command_checks_all(
$mode, '--check',
],
1,
- [qr/invalid/], # pg_upgrade prints errors on stdout :(
+ [qr/invalid/], # pg_upgrade prints errors on stdout :(
[qr//],
'invalid database causes failure');
rmtree($newnode->data_dir . "/pg_upgrade_output.d");