@@ -76,7 +76,6 @@ char *inputdir = ".";
76
76
char * outputdir = "." ;
77
77
char * bindir = PGBINDIR ;
78
78
char * launcher = NULL ;
79
- static _stringlist * loadlanguage = NULL ;
80
79
static _stringlist * loadextension = NULL ;
81
80
static int max_connections = 0 ;
82
81
static int max_concurrent_tests = 0 ;
@@ -1997,16 +1996,6 @@ create_database(const char *dbname)
1997
1996
"ALTER DATABASE \"%s\" SET timezone_abbreviations TO 'Default';" ,
1998
1997
dbname , dbname , dbname , dbname , dbname , dbname );
1999
1998
2000
- /*
2001
- * Install any requested procedural languages. We use CREATE OR REPLACE
2002
- * so that this will work whether or not the language is preinstalled.
2003
- */
2004
- for (sl = loadlanguage ; sl != NULL ; sl = sl -> next )
2005
- {
2006
- header (_ ("installing %s" ), sl -> str );
2007
- psql_command (dbname , "CREATE OR REPLACE LANGUAGE \"%s\"" , sl -> str );
2008
- }
2009
-
2010
1999
/*
2011
2000
* Install any requested extensions. We use CREATE IF NOT EXISTS so that
2012
2001
* this will work whether or not the extension is preinstalled.
@@ -2058,8 +2047,6 @@ help(void)
2058
2047
printf (_ (" --launcher=CMD use CMD as launcher of psql\n" ));
2059
2048
printf (_ (" --load-extension=EXT load the named extension before running the\n" ));
2060
2049
printf (_ (" tests; can appear multiple times\n" ));
2061
- printf (_ (" --load-language=LANG load the named language before running the\n" ));
2062
- printf (_ (" tests; can appear multiple times\n" ));
2063
2050
printf (_ (" --max-connections=N maximum number of concurrent connections\n" ));
2064
2051
printf (_ (" (default is 0, meaning unlimited)\n" ));
2065
2052
printf (_ (" --max-concurrent-tests=N maximum number of concurrent tests in schedule\n" ));
@@ -2096,7 +2083,6 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
2096
2083
{"dbname" , required_argument , NULL , 1 },
2097
2084
{"debug" , no_argument , NULL , 2 },
2098
2085
{"inputdir" , required_argument , NULL , 3 },
2099
- {"load-language" , required_argument , NULL , 4 },
2100
2086
{"max-connections" , required_argument , NULL , 5 },
2101
2087
{"encoding" , required_argument , NULL , 6 },
2102
2088
{"outputdir" , required_argument , NULL , 7 },
@@ -2172,9 +2158,6 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
2172
2158
case 3 :
2173
2159
inputdir = pg_strdup (optarg );
2174
2160
break ;
2175
- case 4 :
2176
- add_stringlist_item (& loadlanguage , optarg );
2177
- break ;
2178
2161
case 5 :
2179
2162
max_connections = atoi (optarg );
2180
2163
break ;
0 commit comments