Remove numFreeProcs from ProcGlobal.
Variable numFreeProcs is added by GPDB to accelerate HaveNFreeProcs(), but considering the argument size of calls to HaveNFreeProcs(), this optimization may be not worth it. In addition, the current codes calculate numFreeProcs wrong. So remove numFreeProcs to keep the same as PostgreSQL. Relevant thread from gpdb-dev: https://groups.google.com/a/greenplum.org/d/msg/gpdb-dev/NG8t5XXYQB0/7BDVoQQLBAAJ
Showing
想要评论请 注册 或 登录