Remove duplicated --no-sync switches in new tests of test_pg_dump
authorMichael Paquier <michael@paquier.xyz>
Tue, 13 Apr 2021 00:42:01 +0000 (09:42 +0900)
committerMichael Paquier <michael@paquier.xyz>
Tue, 13 Apr 2021 00:42:01 +0000 (09:42 +0900)
These got introduced in 6568cef.

Reported-by: Noah Misch
Discussion: https://postgr.es/m/20210404220802.GA728316@rfd.leadboat.com

src/test/modules/test_pg_dump/t/001_base.pl

index 7c053c4e49d56c3fb462c92f75c1d1396b68c9b2..ef98c084939883f38335835d4cc002256f29cf83 100644 (file)
@@ -198,7 +198,7 @@ my %pgdump_runs = (
    with_extension => {
        dump_cmd => [
            'pg_dump', '--no-sync', "--file=$tempdir/with_extension.sql",
-           '--extension=test_pg_dump', '--no-sync', 'postgres',
+           '--extension=test_pg_dump', 'postgres',
        ],
    },
 
@@ -206,7 +206,7 @@ my %pgdump_runs = (
    without_extension => {
        dump_cmd => [
            'pg_dump', '--no-sync', "--file=$tempdir/without_extension.sql",
-           '--extension=plpgsql', '--no-sync', 'postgres',
+           '--extension=plpgsql', 'postgres',
        ],
    },);