add THR_LOCAL for global var
This commit is contained in:
@ -112,8 +112,8 @@ static int applyRemoteGucs(PGconn* conn);
|
||||
static void restoreLocalGucs(int nestlevel);
|
||||
|
||||
/* Global */
|
||||
static remoteConn* pconn = NULL;
|
||||
static HTAB* remoteConnHash = NULL;
|
||||
static THR_LOCAL remoteConn* pconn = NULL;
|
||||
static THR_LOCAL HTAB* remoteConnHash = NULL;
|
||||
|
||||
/*
|
||||
* Following is list that holds multiple remote connections.
|
||||
|
||||
@ -5,7 +5,6 @@
|
||||
# this limits the number of connections needed to run the tests.
|
||||
# ----------
|
||||
|
||||
test: dblink
|
||||
test: analyze_commands
|
||||
#test: single_node_job
|
||||
test: single_node_ddl
|
||||
@ -761,3 +760,6 @@ test: leaky_function_operator
|
||||
#test: gs_guc
|
||||
|
||||
test: smp
|
||||
|
||||
# dblink contrib test
|
||||
test: dblink
|
||||
|
||||
Reference in New Issue
Block a user