提交 8fa39aef 编写于 作者: A Ashwin Agrawal

Remove darwin specific code.

Not sure why setting of guc gp_vmem_protect_limit has specific value for darwin.
上级 9149965f
......@@ -1192,11 +1192,6 @@ setupUDPListeningSocket(int *listenerSocketFd, uint16 *listenerPort, int *txFami
hints.ai_family = AF_INET;
#endif
#ifdef __darwin__
hints.ai_family = AF_INET; /* Due to a bug in OSX Leopard, disable IPv6
* for UDP interconnect on all OSX platforms */
#endif
fun = "getaddrinfo";
s = getaddrinfo(BackendListenAddress, service, &hints, &addrs);
if (s != 0)
......
......@@ -150,11 +150,7 @@ bool pljava_classpath_insecure = false;
/* Memory protection GUCs*/
#ifdef __darwin__
int gp_vmem_protect_limit = 0;
#else
int gp_vmem_protect_limit = 8192;
#endif
int gp_vmem_protect_gang_cache_limit = 500;
/*
......
......@@ -4002,12 +4002,7 @@ struct config_int ConfigureNamesInt_gp[] =
NULL,
},
&gp_vmem_protect_limit,
#ifdef __darwin__
0,
#else
8192,
#endif
0, INT_MAX / 2,
8192, 0, INT_MAX / 2,
NULL, NULL, NULL
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册