@@ -2456,12 +2456,12 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
2456
2456
}
2457
2457
2458
2458
/*
2459
- * Adjust the default postgresql.confas needed for regression
2460
- *testing. The user can specify a file to be appended; in any case we
2461
- * set max_prepared_transactions to enable testing of prepared xacts.
2462
- * (Note: to reduce the probability of unexpected shmmax failures,
2463
- * don't set max_prepared_transactions any higher than actually needed
2464
- * by the prepared_xacts regression test.)
2459
+ * Adjust the default postgresql.conf for regression testing. The user
2460
+ * can specify a file to be appended; in any case we expand logging
2461
+ *and set max_prepared_transactions to enable testing of prepared
2462
+ *xacts. (Note: to reduce the probability of unexpected shmmax
2463
+ *failures, don't set max_prepared_transactions any higher than
2464
+ *actually needed by the prepared_xacts regression test.)
2465
2465
*/
2466
2466
snprintf (buf ,sizeof (buf ),"%s/data/postgresql.conf" ,temp_install );
2467
2467
pg_conf = fopen (buf ,"a" );
@@ -2471,6 +2471,10 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
2471
2471
exit (2 );
2472
2472
}
2473
2473
fputs ("\n# Configuration added by pg_regress\n\n" ,pg_conf );
2474
+ fputs ("log_autovacuum_min_duration = 0\n" ,pg_conf );
2475
+ fputs ("log_checkpoints = on\n" ,pg_conf );
2476
+ fputs ("log_lock_waits = on\n" ,pg_conf );
2477
+ fputs ("log_temp_files = 128kB\n" ,pg_conf );
2474
2478
fputs ("max_prepared_transactions = 2\n" ,pg_conf );
2475
2479
2476
2480
if (temp_config != NULL )