@@ -80,7 +80,7 @@ static char *encoding = NULL;
80
80
static _stringlist * schedulelist = NULL ;
81
81
static _stringlist * extra_tests = NULL ;
82
82
static char * temp_instance = NULL ;
83
- static char * temp_config = NULL ;
83
+ static _stringlist * temp_configs = NULL ;
84
84
static bool nolocale = false;
85
85
static bool use_existing = false;
86
86
static char * hostname = NULL ;
@@ -2117,7 +2117,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
2117
2117
split_to_stringlist (strdup (optarg ),", " ,& extraroles );
2118
2118
break ;
2119
2119
case 19 :
2120
- temp_config = strdup ( optarg );
2120
+ add_stringlist_item ( & temp_configs , optarg );
2121
2121
break ;
2122
2122
case 20 :
2123
2123
use_existing = true;
@@ -2249,8 +2249,9 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
2249
2249
fputs ("log_temp_files = 128kB\n" ,pg_conf );
2250
2250
fputs ("max_prepared_transactions = 2\n" ,pg_conf );
2251
2251
2252
- if ( temp_config != NULL )
2252
+ for ( sl = temp_configs ; sl != NULL ; sl = sl -> next )
2253
2253
{
2254
+ char * temp_config = sl -> str ;
2254
2255
FILE * extra_conf ;
2255
2256
char line_buf [1024 ];
2256
2257