aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_dump/t/001_basic.pl
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2019-05-22 13:36:19 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2019-05-22 13:36:19 -0400
commitdb6e2b4c52ade524f3db419d75084728e96e1f9c (patch)
tree2babbcb444df4f2e2725010b9238334c9d27a4c0 /src/bin/pg_dump/t/001_basic.pl
parent8255c7a5eeba8f1a38b7a431c04909bde4f5e67d (diff)
downloadpostgresql-db6e2b4c52ade524f3db419d75084728e96e1f9c.tar.gz
postgresql-db6e2b4c52ade524f3db419d75084728e96e1f9c.zip
Initial pgperltidy run for v12.
Make all the perl code look nice, too (for some value of "nice").
Diffstat (limited to 'src/bin/pg_dump/t/001_basic.pl')
-rw-r--r--src/bin/pg_dump/t/001_basic.pl11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/bin/pg_dump/t/001_basic.pl b/src/bin/pg_dump/t/001_basic.pl
index 5e3f0e58398..049d5e43f2f 100644
--- a/src/bin/pg_dump/t/001_basic.pl
+++ b/src/bin/pg_dump/t/001_basic.pl
@@ -50,10 +50,9 @@ command_fails_like(
);
command_fails_like(
- [ 'pg_restore' ],
+ ['pg_restore'],
qr{\Qpg_restore: error: one of -d/--dbname and -f/--file must be specified\E},
- 'pg_restore: error: one of -d/--dbname and -f/--file must be specified'
-);
+ 'pg_restore: error: one of -d/--dbname and -f/--file must be specified');
command_fails_like(
[ 'pg_restore', '-s', '-a', '-f -' ],
@@ -125,7 +124,8 @@ command_fails_like(
command_fails_like(
[ 'pg_dump', '--on-conflict-do-nothing' ],
qr/pg_dump: error: option --on-conflict-do-nothing requires option --inserts, --rows-per-insert or --column-inserts/,
- 'pg_dump: --on-conflict-do-nothing requires --inserts, --rows-per-insert, --column-inserts');
+ 'pg_dump: --on-conflict-do-nothing requires --inserts, --rows-per-insert, --column-inserts'
+);
# pg_dumpall command-line argument checks
command_fails_like(
@@ -161,4 +161,5 @@ command_fails_like(
command_fails_like(
[ 'pg_dumpall', '--exclude-database=foo', '--globals-only' ],
qr/\Qpg_dumpall: error: option --exclude-database cannot be used together with -g\/--globals-only\E/,
- 'pg_dumpall: option --exclude-database cannot be used together with -g/--globals-only');
+ 'pg_dumpall: option --exclude-database cannot be used together with -g/--globals-only'
+);