Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b028957

Browse filesBrowse files
committed
Run perltidy on 002_pg_upgrade.pl.
1 parent 5ba8b70 commit b028957
Copy full SHA for b028957

File tree

Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-4
lines changed

‎src/bin/pg_upgrade/t/002_pg_upgrade.pl

Copy file name to clipboardExpand all lines: src/bin/pg_upgrade/t/002_pg_upgrade.pl
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,7 @@ sub filter_dump
255255
# For simplicity, use the newer version's psql to issue the commands.
256256
$newnode->command_ok(
257257
[
258-
'psql', '-X',
259-
'-v', 'ON_ERROR_STOP=1',
258+
'psql', '-X', '-v', 'ON_ERROR_STOP=1',
260259
'-d', $oldnode->connstr($updb),
261260
@command_args,
262261
],
@@ -322,7 +321,8 @@ sub filter_dump
322321
}
323322

324323
# Create an invalid database, will be deleted below
325-
$oldnode->safe_psql('postgres', qq(
324+
$oldnode->safe_psql(
325+
'postgres', qq(
326326
CREATE DATABASE regression_invalid;
327327
UPDATE pg_database SET datconnlimit = -2 WHERE datname = 'regression_invalid';
328328
));
@@ -365,7 +365,7 @@ sub filter_dump
365365
$mode, '--check',
366366
],
367367
1,
368-
[qr/invalid/], # pg_upgrade prints errors on stdout :(
368+
[qr/invalid/], # pg_upgrade prints errors on stdout :(
369369
[qr//],
370370
'invalid database causes failure');
371371
rmtree($newnode->data_dir . "/pg_upgrade_output.d");

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.