From: Wang D. <dia...@qq...> - 2015-01-13 04:12:50
|
Hi, this patch reduce error level to LOG in ServerLoop() for GTM and GTM proxy. Because PG_exception_stack not set in main thread, elog with ERROR(eg. thread create failed) can cause whole program exit, see pg_re_throw(). This patch refers to error process of postmaster, which just log error. Note, palloc still used in ServerLoop(), which will raise a ERROR message if out of memory, fix it need another patch. -- Best Regards, Wang Diancheng |