mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Run perltidy on 002_pg_upgrade.pl.
This commit is contained in:
@ -255,8 +255,7 @@ if (defined($ENV{oldinstall}))
|
|||||||
# For simplicity, use the newer version's psql to issue the commands.
|
# For simplicity, use the newer version's psql to issue the commands.
|
||||||
$newnode->command_ok(
|
$newnode->command_ok(
|
||||||
[
|
[
|
||||||
'psql', '-X',
|
'psql', '-X', '-v', 'ON_ERROR_STOP=1',
|
||||||
'-v', 'ON_ERROR_STOP=1',
|
|
||||||
'-d', $oldnode->connstr($updb),
|
'-d', $oldnode->connstr($updb),
|
||||||
@command_args,
|
@command_args,
|
||||||
],
|
],
|
||||||
@ -322,7 +321,8 @@ if (defined($ENV{oldinstall}))
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Create an invalid database, will be deleted below
|
# Create an invalid database, will be deleted below
|
||||||
$oldnode->safe_psql('postgres', qq(
|
$oldnode->safe_psql(
|
||||||
|
'postgres', qq(
|
||||||
CREATE DATABASE regression_invalid;
|
CREATE DATABASE regression_invalid;
|
||||||
UPDATE pg_database SET datconnlimit = -2 WHERE datname = 'regression_invalid';
|
UPDATE pg_database SET datconnlimit = -2 WHERE datname = 'regression_invalid';
|
||||||
));
|
));
|
||||||
|
Reference in New Issue
Block a user