Fix --without-libcurl build.
The readable_external_table_timeout global variable is needed even when building without libcurl, because the GUC still exists and is listed in guc.c, even though doesn't do anything without libcurl support. Move it outside the #ifdef USE_CURL block. While we're at it, silence a few "<function> defined but not used" warnings from sendalert.c. Some static functions were only called when compiling with libcurl, so put them inside #ifdef LIBCURL blocks to silence the warnings. Reported by Digoal.zhou.
Showing
想要评论请 注册 或 登录