]> granicus.if.org Git - postgresql/commitdiff
Use --nosync during make check's initdb call.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 Jul 2012 23:56:22 +0000 (19:56 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 21 Jul 2012 23:56:22 +0000 (19:56 -0400)
We left this out of commit b966dd6c4228d696b291c1cdcb5ab8c8475fefa8
so as to get some more buildfarm testing of the new fsync code in initdb.
But since no problems have turned up, it's probably time to save the
cycles.

src/test/regress/pg_regress.c

index 7d89318b270f7061953c0acbed95cc4e8b11ba7d..81e7b69231b3ccab91637debfb4fbcf50a5e4f3d 100644 (file)
@@ -2150,7 +2150,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
                /* initdb */
                header(_("initializing database system"));
                snprintf(buf, sizeof(buf),
-                                SYSTEMQUOTE "\"%s/initdb\" -D \"%s/data\" -L \"%s\" --noclean%s%s > \"%s/log/initdb.log\" 2>&1" SYSTEMQUOTE,
+                                SYSTEMQUOTE "\"%s/initdb\" -D \"%s/data\" -L \"%s\" --noclean --nosync%s%s > \"%s/log/initdb.log\" 2>&1" SYSTEMQUOTE,
                                 bindir, temp_install, datadir,
                                 debug ? " --debug" : "",
                                 nolocale ? " --no-locale" : "",